Sends "MAIL FROM:" command.

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

Syntax

C#
public SmtpResponse MailFrom(
	string from
)
Visual Basic
Public Function MailFrom ( _
	from As String _
) As SmtpResponse
Visual C++
public:
SmtpResponse^ MailFrom(
	String^ from
)

Parameters

from
Type: System..::..String
From address.

Return Value

Server's response.

Exceptions

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

See Also