License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
SMTP client implementation
Determines the (encryption) type of an SMTP connection.
Represents the different status codes for SMTP replies.
Represents the authentication mechanism used by the SMTP client.
Configuration options for the SMTP client.
string hostSMTP host to connect toushort portPort on which to connectstring localnameOwn network name to report to the SMTP serverSMTPConnectionType connectionTypeType of encryption protocol to useSMTPAuthType authTypeAuthentication type to useTLSPeerValidationMode tlsValidationModeDetermines how the server certificate gets validated.TLSVersion tlsVersionVersion(s) of the TLS/SSL protocol to usevoid delegate(scope TLSContext) tlsContextSetupCallback to invoke to enable additional setup of the TLS context.string usernameUser name to use for authenticationstring passwordPassword to use for authenticationRepresents an email message, including its headers.
InetHeaderMap headersstring bodyTextvoid sendMail(in SMTPClientSettings settings, Mail mail, in Duration timeout = Duration.max())Sends an e-mail using the given settings.void expectStatus(InputStream)(InputStream conn, int expected_status, string in_response_to) if (isInputStream!InputStream)