SmtpClient.SendMailToQueue Method


Sends an e-mail message to EASendMail Service.

[VisualĀ Basic]
Public Sub SendMailToQueue( _
    server As SmtpServer, _
    mail As SmtpMail _
)
[C#]
public void SendMailToQueue(
    SmtpServer server,
    SmtpMail mail
);
[C++]
public: void SendMailToQueue(
    SmtpServer* server,
    SmtpMail* mail
);
[JScript]
public function SendMailToQueue( 
    server : SmtpServer, 
    mail : SmtpMail
);

Parameters

server
A SmtpServer instances used to send email. If this parameter is null (Nothing in Visual Basic), the email will be sent by the smtp server set in EASendMail Service.
mail
A SmtpMail instance to send.

Remarks

To learn more detail about SendMailToQueue method, please refer to Work with EASendMail Service (Email Queuing) section.