Свойство | Type | Description | |
---|---|---|---|
Host | string | ||
UseSsl | bool |
Méthode | Description | |
---|---|---|
Send ( IEnumerable |
||
Send ( MailMessage message ) : void | ||
SmtpClient ( string host, Stream stream ) : System | ||
SmtpClient ( string host, Stream stream, NetworkCredential credentials ) : System | ||
SmtpClient ( string host, Stream stream, bool useSsl ) : System | ||
SmtpClient ( string host, Stream stream, bool useSsl, NetworkCredential credentials ) : System |
Méthode | Description | |
---|---|---|
Authenticate ( ) : void | ||
Data ( string data ) : void | ||
Ehlo ( ) : void | ||
From ( string from ) : void | ||
RcptTo ( MailAddressCollection recipients ) : void | ||
SendCommand ( string command, int expectedCode ) : string |
public Send ( IEnumerable |
||
messages | IEnumerable |
|
Résultat | void |
public SmtpClient ( string host, Stream stream ) : System | ||
host | string | |
stream | Stream | |
Résultat | System |
public SmtpClient ( string host, Stream stream, NetworkCredential credentials ) : System | ||
host | string | |
stream | Stream | |
credentials | NetworkCredential | |
Résultat | System |
public SmtpClient ( string host, Stream stream, bool useSsl ) : System | ||
host | string | |
stream | Stream | |
useSsl | bool | |
Résultat | System |
public SmtpClient ( string host, Stream stream, bool useSsl, NetworkCredential credentials ) : System | ||
host | string | |
stream | Stream | |
useSsl | bool | |
credentials | NetworkCredential | |
Résultat | System |