|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| SmtpClient () | |
| SmtpClient (string? host) | |
| SmtpClient (string? host, int port) | |
| void | Send (string from, string recipients, string? subject, string? body) |
| void | Send (MailMessage message) |
| void | SendAsync (string from, string recipients, string? subject, string? body, object? userToken) |
| void | SendAsync (MailMessage message, object? userToken) |
| void | SendAsyncCancel () |
| Task | SendMailAsync (string from, string recipients, string? subject, string? body) |
| Task | SendMailAsync (MailMessage message) |
| Task | SendMailAsync (string from, string recipients, string? subject, string? body, CancellationToken cancellationToken) |
| Task | SendMailAsync (MailMessage message, CancellationToken cancellationToken) |
| void | Dispose () |
Protected Member Functions | |
| void | OnSendCompleted (AsyncCompletedEventArgs e) |
| virtual void | Dispose (bool disposing) |
Package Functions | |
| MailWriter | GetFileMailWriter (string pickupDirectory) |
Package Attributes | |
| string | _clientDomain |
Properties | |
| string? | Host [get, set] |
| int | Port [get, set] |
| bool | UseDefaultCredentials [get, set] |
| ICredentialsByHost? | Credentials [get, set] |
| int | Timeout [get, set] |
| ServicePoint | ServicePoint [get] |
| SmtpDeliveryMethod | DeliveryMethod [get, set] |
| SmtpDeliveryFormat | DeliveryFormat [get, set] |
| string? | PickupDirectoryLocation [get, set] |
| bool | EnableSsl [get, set] |
| X509CertificateCollection | ClientCertificates [get] |
| string? | TargetName [get, set] |
| bool | ServerSupportsEai [get] |
| bool | InCall [get, set] |
Events | |
| SendCompletedEventHandler? | SendCompleted |
Private Member Functions | |
| void | Initialize () |
| void | UpdateTransportCredentials () |
| bool | IsUnicodeSupported () |
| void | SendCompletedWaitCallback (object operationState) |
| bool | IsSystemNetworkCredentialInCache (CredentialCache cache) |
| void | CheckHostAndPort () |
| void | TimeOutCallback (object state) |
| void | Complete (Exception exception, IAsyncResult result) |
| void | SendMessageCallback (IAsyncResult result) |
| void | SendMailCallback (IAsyncResult result) |
| void | ConnectCallback (IAsyncResult result) |
| void | ValidateUnicodeRequirement (MailMessage message, MailAddressCollection recipients, bool allowUnicode) |
| void | GetConnection () |
| void | Abort () |
Static Private Member Functions | |
| static void | ContextSafeCompleteCallback (IAsyncResult ar) |
Static Private Attributes | |
| static readonly AsyncCallback | s_contextSafeCompleteCallback = ContextSafeCompleteCallback |
Definition at line 18 of file SmtpClient.cs.