Sends "MAIL FROM:" command.
Namespace: Lesnikowski.Client
Assembly: Mail (in Mail.dll)
Version: 2.7.2897.36617
Syntax
| C# |
|---|
public SmtpResponse MailFrom( string from ) |
| Visual Basic (Declaration) |
|---|
Public Function MailFrom ( _ from As String _ ) As SmtpResponse |
| Visual C++ |
|---|
public: SmtpResponse^ MailFrom ( String^ from ) |
Parameters
- from
- String
From address.
Return Value
Response from server.
Exceptions
| Exception | Condition |
|---|---|
| Lesnikowski.Client..::ServerException | Throws ServerException on error response. |
See Also
Smtp Class
Lesnikowski.Client Namespace