Sends "RCPT TO:" command.

Namespace: Lesnikowski.Client
Assembly:  Mail (in Mail.dll)
Version: 2.7.2897.36617

Syntax

C#
public SmtpResponse RcptTo(
	string to
)
Visual Basic (Declaration)
Public Function RcptTo ( _
	to As String _
) As SmtpResponse
Visual C++
public:
SmtpResponse^ RcptTo (
	String^ to
)

Parameters

to
String
To address.

Return Value

Response from server.

Exceptions

ExceptionCondition
Lesnikowski.Client..::ServerException Throws ServerException on error response.

See Also

Smtp Class