Sends "MAIL FROM:" command.
Namespace: Lesnikowski.ClientAssembly: 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
| Exception | Condition |
|---|---|
| Lesnikowski.Client..::..ServerException | Throws ServerException on error response. |