Sends RCPT TO: command to SMTP server.
| C# | Visual Basic | Visual C++ | F# |
public void RcptTo( string to )
Public Sub RcptTo ( to As String )
public: void RcptTo( String^ to )
member RcptTo : to : string -> unit
- to (String)
- Recipient email address.
Before using notify or orcpt arguments, check that remote server supports(SMTP_Client.EsmtpFeatures) SMTP DSN extention.
| Exception | Condition |
|---|---|
| ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
| InvalidOperationException | Is raised when SMTP client is not connected. |
| ArgumentException | Is raised when any of the arguments has invalid value. |
| SMTP_ClientException | Is raised when SMTP server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119