Aspose::Email::Tools::Verifications::DomainValidatingEventArgs Class Reference

Provides data for the DomainValidating event. More...

Inherits Aspose::Email::Tools::Verifications::SyntaxValidatingEventArgs.

Inherited by Aspose::Email::Tools::Verifications::MailServerValidatingEventArgs.

Public Member Functions

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 DomainValidating event.

Constructor & Destructor Documentation

◆ DomainValidatingEventArgs()

Aspose::Email::Tools::Verifications::DomainValidatingEventArgs::DomainValidatingEventArgs ( System::String  mail,
System::SharedPtr< Aspose::Email::MailAddress mailaddress 
)

Initializes a new instance of the SyntaxValidatingEventArgs class.

Parameters
mailThe mail address.
mailaddressThe mail address.

Member Function Documentation

◆ get_Domain()

System::String Aspose::Email::Tools::Verifications::DomainValidatingEventArgs::get_Domain ( )

Gets the domain.

◆ get_MailAddress()

System::SharedPtr<Aspose::Email::MailAddress> Aspose::Email::Tools::Verifications::DomainValidatingEventArgs::get_MailAddress ( ) const

Gets the mail address.