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
Constructor | Description |
---|---|
MailServerValidatingEventArgs(String mail, MailAddress mailaddress, String[] mailExchangeList) | Initializes a new instance of the SyntaxValidatingEventArgs class. |
Fields
Field | Description |
---|---|
Empty |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
java.lang.String | A string contains the original copy of the mail address. | |
mailaddress | MailAddress | The MailAddress. |
mailExchangeList | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | ValidationResult |
setSkip(boolean value)
public final void setSkip(boolean value)
Indicates whether to ignore the check.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
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 |