FailedMailMessageEventArgs

Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs, com.aspose.email.MailMessageEventArgs

public class FailedMailMessageEventArgs extends MailMessageEventArgs

Provides data for the MessageSending and MessageSent events.

Constructors

ConstructorDescription
FailedMailMessageEventArgs(MailMessage message, Throwable ex)Initializes a new instance of the FailedMailMessageEventArgs class.

Fields

FieldDescription
Empty

Methods

MethodDescription
equals(Object arg0)
getClass()
getMessage()Gets the sending message.
getOperationError()Operation error
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

FailedMailMessageEventArgs(MailMessage message, Throwable ex)

public FailedMailMessageEventArgs(MailMessage message, Throwable ex)

Initializes a new instance of the FailedMailMessageEventArgs class.

Parameters:

ParameterTypeDescription
messageMailMessageThe message.
exjava.lang.ThrowableOperation error

Empty

public static final System.EventArgs Empty

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getMessage()

public final MailMessage getMessage()

Gets the sending message.

Value: The MailMessage.

Returns: MailMessage

getOperationError()

public final Throwable getOperationError()

Operation error

Returns: java.lang.Throwable

hashCode()

public native int hashCode()

Returns: int

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int