Tests if specified SMTP server accepts an e-mail address.
[Visual Basic] Public Sub TestRecipientsAsync( _ server As SmtpServer, _ mail As SmtpMail _ ) As IAsyncAction
[C#] public IAsyncAction TestRecipientsAsync( SmtpServer server, SmtpMail mail );
[C++] public: IAsyncAction^ TestRecipientsAsync( SmtpServer^ server, SmtpMail^ mail );
[JScript] public function TestRecipientsAsync( server : SmtpServer, mail : SmtpMail ): IAsyncAction;
Parameters
Return Value
Remarks
How does it work? Firstly, SmtpClient will try to connect to this server. SmtpClient then performs "RCPT TO" command to test if this SMTP server accept this email address.