BounceResult

Inheritance: java.lang.Object

public class BounceResult

Represents result of the message examination as a bounce message.

Constructors

Constructor Description
BounceResult()

Methods

Method Description
equals(Object arg0)
getAction() Indicates the action performed as a result of attempt to deliver the message.
getClass()
getOriginalMessage() Contains the original message.
getReason() For a “failed” or “delayed” recipient, contains the actual diagnostic code issued by the mail transport.
getRecipient() Indicates the original recipient address as specified by the sender of the message for which the delivery failure report was issued.
getStatus() Contains a transport-independent status code which indicates the delivery status of the message to that recipient.
hashCode()
isBounced() True if email is a delivery failure or deliver delay report.
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

BounceResult()

public BounceResult()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getAction()

public final int getAction()

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

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getOriginalMessage()

public final MailMessage getOriginalMessage()

Contains the original message.

Returns: MailMessage

getReason()

public final String getReason()

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

Returns: java.lang.String

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.

Returns: java.lang.String

getStatus()

public final String getStatus()

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

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

isBounced()

public final boolean isBounced()

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

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int