Property | Type | Description | |
---|---|---|---|
Capabilities | SmtpCapabilities |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
SMTPClient ( String RemoteHost, IPPort RemotePort, String Login = null, String Password = null, String LocalDomain = null, System.Boolean UseIPv4 = true, System.Boolean UseIPv6 = false, System.Boolean PreferIPv6 = false, TLSUsage UseTLS = TLSUsage.STARTTLS, ValidateRemoteCertificateDelegate ValidateServerCertificate = null, System.TimeSpan ConnectionTimeout = null, DNSClient DNSClient = null, System.Boolean AutoConnect = false, |
Create a new SMTP client for sending e-mails.
|
|
Send ( AbstractEMailBuilder MailBuilder, Byte NumberOfRetries = 3, System.Boolean AutoStart = true ) : Task |
||
Send ( |
||
Send ( |
Method | Description | |
---|---|---|
ReadSMTPResponses ( ) : IEnumerable |
||
SendCommand ( String Command ) : void | ||
SendCommandAndWait ( String Command ) : |
||
SendCommandAndWaits ( String Command ) : IEnumerable |
Method | Description | |
---|---|---|
GenerateMessageId ( |
||
ReadSMTPResponse ( ) : |
protected ReadSMTPResponses ( ) : IEnumerable |
||
return | IEnumerable |
public SMTPClient ( String RemoteHost, IPPort RemotePort, String Login = null, String Password = null, String LocalDomain = null, System.Boolean UseIPv4 = true, System.Boolean UseIPv6 = false, System.Boolean PreferIPv6 = false, TLSUsage UseTLS = TLSUsage.STARTTLS, ValidateRemoteCertificateDelegate ValidateServerCertificate = null, System.TimeSpan ConnectionTimeout = null, DNSClient DNSClient = null, System.Boolean AutoConnect = false, |
||
RemoteHost | String | |
RemotePort | IPPort | |
Login | String | |
Password | String | |
LocalDomain | String | |
UseIPv4 | System.Boolean | Whether to use IPv4 as networking protocol. |
UseIPv6 | System.Boolean | Whether to use IPv6 as networking protocol. |
PreferIPv6 | System.Boolean | Prefer IPv6 (instead of IPv4) as networking protocol. |
UseTLS | TLSUsage | Whether Transport Layer Security should be used or not. |
ValidateServerCertificate | ValidateRemoteCertificateDelegate | A callback for validating the remote server certificate. |
ConnectionTimeout | System.TimeSpan | The timeout connecting to the remote service. |
DNSClient | DNSClient | An optional DNS client used to resolve DNS names. |
AutoConnect | System.Boolean | Connect to the TCP service automatically on startup. Default is false. |
CancellationToken | ||
return | System |
public Send ( AbstractEMailBuilder MailBuilder, Byte NumberOfRetries = 3, System.Boolean AutoStart = true ) : Task |
||
MailBuilder | AbstractEMailBuilder | |
NumberOfRetries | Byte | |
AutoStart | System.Boolean | |
return | Task |
public Send ( |
||
NumberOfRetries | Byte | |
AutoStart | System.Boolean | |
return | Task |
public Send ( |
||
EMailEnvelop | ||
NumberOfRetries | Byte | |
AutoStart | System.Boolean | |
return | Task |
protected SendCommand ( String Command ) : void | ||
Command | String | |
return | void |
protected SendCommandAndWait ( String Command ) : |
||
Command | String | |
return |
protected SendCommandAndWaits ( String Command ) : IEnumerable |
||
Command | String | |
return | IEnumerable |