Sends "MAIL FROM:" command.

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

Syntax

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

Parameters

from
Type: System..::..String
From address.
throwException
Type: System..::..Boolean
If true throws ServerException on error response

Return Value

Server's response.

See Also