DomainValidatingEventArgs

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

public class DomainValidatingEventArgs extends SyntaxValidatingEventArgs

Provides data for the DomainValidating event.

Constructors

Constructor Description
DomainValidatingEventArgs(String mail, MailAddress mailaddress) Initializes a new instance of the SyntaxValidatingEventArgs class.

Methods

Method Description
getDomain() Gets the domain.
getMailAddress() Gets the mail address.

DomainValidatingEventArgs(String mail, MailAddress mailaddress)

public DomainValidatingEventArgs(String mail, MailAddress mailaddress)

Initializes a new instance of the SyntaxValidatingEventArgs class.

Parameters:

Parameter Type Description
mail java.lang.String The mail address.
mailaddress MailAddress The mail address.

getDomain()

public final String getDomain()

Gets the domain.

Returns: java.lang.String

getMailAddress()

public final MailAddress getMailAddress()

Gets the mail address.

Returns: MailAddress