Aspose::Email::Tools::Verifications::MailServerValidatingEventArgs Class Reference

Provides data for the MailServerValidatingEvent event. More...

Inherits Aspose::Email::Tools::Verifications::DomainValidatingEventArgs.

Public Member Functions

System::ArrayPtr< System::String > get_MailExchangeServers () const
 Gets the mail exchange server list. More...
 
 MailServerValidatingEventArgs (System::String mail, System::SharedPtr< Aspose::Email::MailAddress > mailaddress, System::ArrayPtr< System::String > mailExchangeList)
 Initializes a new instance of the SyntaxValidatingEventArgs class. More...
 
- Public Member Functions inherited from Aspose::Email::Tools::Verifications::DomainValidatingEventArgs
System::String get_Domain ()
 Gets the domain. More...
 
System::SharedPtr< Aspose::Email::MailAddressget_MailAddress () const
 Gets the mail address. More...
 
 DomainValidatingEventArgs (System::String mail, System::SharedPtr< Aspose::Email::MailAddress > mailaddress)
 Initializes a new instance of the SyntaxValidatingEventArgs class. More...
 
- Public Member Functions inherited from Aspose::Email::Tools::Verifications::SyntaxValidatingEventArgs
System::String get_Mail () const
 Gets the mail address is being validating. More...
 
bool get_Skip () const
 Indicates whether to ignore the check. More...
 
void set_Skip (bool value)
 Indicates whether to ignore the check. More...
 
System::ArrayPtr< System::String > get_MailExchangeServers () const
 
void set_MailExchangeServers (System::ArrayPtr< System::String > value)
 
System::SharedPtr< ValidationResultget_Result () const
 Gets the validation result. More...
 
void set_Result (System::SharedPtr< ValidationResult > value)
 Sets the validation result. More...
 
 SyntaxValidatingEventArgs (System::String mail)
 Initializes a new instance of the SyntaxValidatingEventArgs class. More...
 

Detailed Description

Provides data for the MailServerValidatingEvent event.

Constructor & Destructor Documentation

◆ MailServerValidatingEventArgs()

Aspose::Email::Tools::Verifications::MailServerValidatingEventArgs::MailServerValidatingEventArgs ( System::String  mail,
System::SharedPtr< Aspose::Email::MailAddress mailaddress,
System::ArrayPtr< System::String >  mailExchangeList 
)

Initializes a new instance of the SyntaxValidatingEventArgs class.

Parameters
mailA string contains the original copy of the mail address.
mailaddressThe MailAddress.
mailExchangeListA set of mail exchange server list.

Member Function Documentation

◆ get_MailExchangeServers()

System::ArrayPtr<System::String> Aspose::Email::Tools::Verifications::MailServerValidatingEventArgs::get_MailExchangeServers ( ) const

Gets the mail exchange server list.