MailServerValidatingEventArgs

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

public class MailServerValidatingEventArgs extends DomainValidatingEventArgs

Provides data for the MailServerValidatingEvent event.

Constructors

ConstructorDescription
MailServerValidatingEventArgs(String mail, MailAddress mailaddress, String[] mailExchangeList)Initializes a new instance of the SyntaxValidatingEventArgs class.

Fields

FieldDescription
Empty

Methods

MethodDescription
equals(Object arg0)
getClass()
getDomain()Gets the domain.
getMail()Gets the mail address is being validating.
getMailAddress()Gets the mail address.
getMailExchangeServers()Gets the mail exchange server list.
getMailExchangeServers_MailServerValidatingEventArgs_New()Gets the mail exchange server list.
getResult()Gets or sets the validation result.
getSkip()Indicates whether to ignore the check.
hashCode()
notify()
notifyAll()
setResult(ValidationResult value)Gets or sets the validation result.
setSkip(boolean value)Indicates whether to ignore the check.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MailServerValidatingEventArgs(String mail, MailAddress mailaddress, String[] mailExchangeList)

public MailServerValidatingEventArgs(String mail, MailAddress mailaddress, String[] mailExchangeList)

Initializes a new instance of the SyntaxValidatingEventArgs class.

Parameters:

ParameterTypeDescription
mailjava.lang.StringA string contains the original copy of the mail address.
mailaddressMailAddressThe MailAddress.
mailExchangeListjava.lang.String[]A set of mail exchange server list.

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

getDomain()

public final String getDomain()

Gets the domain.

Returns: java.lang.String

getMail()

public final String getMail()

Gets the mail address is being validating.

Returns: java.lang.String

getMailAddress()

public final MailAddress getMailAddress()

Gets the mail address.

Returns: MailAddress

getMailExchangeServers()

public final String[] getMailExchangeServers()

Gets the mail exchange server list.

Returns: java.lang.String[]

getMailExchangeServers_MailServerValidatingEventArgs_New()

public final String[] getMailExchangeServers_MailServerValidatingEventArgs_New()

Gets the mail exchange server list.

Returns: java.lang.String[]

getResult()

public final ValidationResult getResult()

Gets or sets the validation result.

Returns: ValidationResult

getSkip()

public final boolean getSkip()

Indicates whether to ignore the check.

Returns: boolean

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setResult(ValidationResult value)

public final void setResult(ValidationResult value)

Gets or sets the validation result.

Parameters:

ParameterTypeDescription
valueValidationResult

setSkip(boolean value)

public final void setSkip(boolean value)

Indicates whether to ignore the check.

Parameters:

ParameterTypeDescription
valueboolean

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