FailedMailMessageEventArgs
Contents
[
Hide
]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
| Constructor | Description | 
|---|---|
| FailedMailMessageEventArgs(MailMessage message, Throwable ex) | Initializes a new instance of the FailedMailMessageEventArgs class. | 
Fields
| Field | Description | 
|---|---|
| Empty | 
Methods
| Method | Description | 
|---|---|
| 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:
| Parameter | Type | Description | 
|---|---|---|
| message | MailMessage | The message. | 
| ex | java.lang.Throwable | Operation error | 
Empty
public static final System.EventArgs Empty
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| arg0 | java.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:
| 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 |