 | SmtpSendCommand Method (String) |
Sends command to the SMTP server (e.g. "EHLO").
Namespace:
Limilabs.Client.SMTP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntaxpublic SmtpResponse SendCommand(
string command
)
Public Function SendCommand (
command As String
) As SmtpResponse
public:
SmtpResponse^ SendCommand(
String^ command
)
member SendCommand :
command : string -> SmtpResponse
Parameters
- command
- Type: SystemString
Command to be send e.g. "EHLO".
Return Value
Type:
SmtpResponseServer's response.
Exceptions
Remarks
Most commands have their own specialized methods in this class, you should probably use them instead.
See Also