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 boolean isBounced()

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

        Returns:
        a boolean.
      • getAction

        public int getAction()

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

        Returns:
        a int.
      • getReason

        public String getReason()

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

        Returns:
        a String object.
      • getRecipient

        public String getRecipient()

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

        Returns:
        a String object.
      • getStatus

        public String getStatus()

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

        Returns:
        a String object.
      • getOriginalMessage

        public MailMessage getOriginalMessage()

        Contains the original message.

        Returns:
        a MailMessage object.