MailMessageEventArgs

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

public class MailMessageEventArgs extends System.EventArgs

Provides data for the MessageSending and MessageSent events.

Constructors

Constructor Description
MailMessageEventArgs(MailMessage message) Initializes a new instance of the MailMessageEventArgs class.

Methods

Method Description
getMessage() Gets the sending message.

MailMessageEventArgs(MailMessage message)

public MailMessageEventArgs(MailMessage message)

Initializes a new instance of the MailMessageEventArgs class.

Parameters:

Parameter Type Description
message MailMessage The message.

getMessage()

public final MailMessage getMessage()

Gets the sending message.

Value: The MailMessage.

Returns: MailMessage