SmtpProtocolSendRcptTo Method Ipswitch.Messaging.Framework
Send a Recipient (RCPT TO) command to the server.

Namespace: Ipswitch.Messaging.Framework.Mail
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax

public SmtpResponse SendRcptTo(
	string recipientAddress
)

Parameters

recipientAddress
Type: SystemString
An email address string to send to the server as a recipient.

Return Value

Type: SmtpResponse
An SmtpResponse that contains the response codes and message (or messages) sent by the server.
Exceptions

ExceptionCondition
ConnectionExceptionThe connection was terminated before sending could be completed.
InvalidOperationExceptionNo connection is available.
ObjectDisposedExceptionThis object has been disposed.
See Also

Reference