com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class BounceResult



  • public class BounceResult
    extends Object

    Represents result of the message examination as a bounce message.

    • Constructor Summary

      Constructors 
      Constructor and Description
      BounceResult() 
    • Constructor Detail

      • BounceResult

        public BounceResult()
    • Method Detail

      • isBounced

        public final boolean isBounced()

        True if email is a delivery failure or deliver delay report.

      • getAction

        public final int getAction()

        Indicates the action performed as a result of attempt to deliver the message.

      • getReason

        public final String getReason()

        For a "failed" or "delayed" recipient, contains the actual diagnostic code issued by the mail transport.

      • getRecipient

        public final String getRecipient()

        Indicates the original recipient address as specified by the sender of the message for which the delivery failure report was issued.

      • getStatus

        public final String getStatus()

        Contains a transport-independent status code which indicates the delivery status of the message to that recipient.

      • getOriginalMessage

        public final MailMessage getOriginalMessage()

        Contains the original message.