DotNetOpenMail 0.5.7 (beta)

SmtpProxy.MailFrom Method 

Send the MAIL FROM command Throw a MailException if we can't connect.

[Visual Basic]
Public Function MailFrom( _ 
   ByVal mailfrom As EmailAddress _ 
) _
    Implements ISmtpProxy.MailFrom As SmtpResponse
[C#]
public SmtpResponse MailFrom(
   EmailAddress mailfrom
);
[C++]
public: SmtpResponse* MailFrom(
   EmailAddress* mailfrom
);
[JScript]
public function MailFrom(
   EmailAddress mailfrom
): SmtpResponse;

Parameters

mailfrom
The Envelope-From address

Return Value

the SMTP response

Implements

ISmtpProxy.MailFrom

See Also

SmtpProxy Class | DotNetOpenMail Namespace