SmtpProtocolSendMailFrom Method Ipswitch.Messaging.Framework
Send a Mail From 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 SendMailFrom(
	string emailAddress
)

Parameters

emailAddress
Type: SystemString
An email address string to send to the server as the message sender.

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