Click or drag to resize

SmtpSendCommand(String) Method

Sends command to the SMTP server (e.g. "EHLO").

Namespace: Limilabs.Client.SMTP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public SmtpResponse SendCommand(
	string command
)

Parameters

command  String
Command to be send e.g. "EHLO".

Return Value

SmtpResponse
Server's response.
Exceptions
ExceptionCondition
SmtpResponseExceptionThrows SmtpResponseException on error response.
Remarks
Most commands have their own specialized methods in this class, you should probably use them instead.
See Also