Sending SMTP commands

Top  Previous  Next

To send commands to an SMTP server invoke the IssueCommand method and pass the command string as an argument.

 

Example

This example issues the SMTP HELO command. The HELO command requires a host name or IP address as a parameter.

 

[C#]

String response = mySmtp.IssueCommand("HELO 10.0.0.1");

 

 

[Visual Basic]

Dim response As String = mySmtp.IssueCommand("HELO 10.0.0.1")

 

 





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC