public class BounceResult extends Object
Represents result of the message examination as a bounce message.
Constructor and Description |
---|
BounceResult() |
Modifier and Type | Method and Description |
---|---|
int |
getAction()
Indicates the action performed as a result of attempt to deliver the message.
|
MailMessage |
getOriginalMessage()
Contains the original message.
|
String |
getReason()
For a "failed" or "delayed" recipient, contains the actual diagnostic code issued by the mail transport.
|
String |
getRecipient()
Indicates the original recipient address as specified by the sender of the message for which the delivery failure report was issued.
|
String |
getStatus()
Contains a transport-independent status code which indicates the delivery status of the message to that recipient.
|
boolean |
isBounced()
True if email is a delivery failure or deliver delay report.
|
public boolean isBounced()
True if email is a delivery failure or deliver delay report.
public int getAction()
Indicates the action performed as a result of attempt to deliver the message.
public String getReason()
For a "failed" or "delayed" recipient, contains the actual diagnostic code issued by the mail transport.
String
object.public String getRecipient()
Indicates the original recipient address as specified by the sender of the message for which the delivery failure report was issued.
String
object.public String getStatus()
Contains a transport-independent status code which indicates the delivery status of the message to that recipient.
String
object.public MailMessage getOriginalMessage()
Contains the original message.
MailMessage
object.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.