SMTP client library that handles TLS, authentication, and message delivery with full protocol support.
// Source: https://github.com/mjl-/mox | License: MIT // Provided via justclaw.it.com; keep this notice with the code. // Package smtpclient is an SMTP client, for submitting to an SMTP server or // delivering from a queue. // // Email clients can submit a message to SMTP server, after which the server is // responsible for delivery to the final destination. A submission client // typically connects with TLS, and PKIX-verifies the server's certificate. The // client then authenticates using a SASL mechanism. // // Email servers manage a message queue, from which they will try to deliver // messages. In case of temporary failures, the message is kept in the queue and // tried again later. For delivery, no authentication is done. TLS is opportunistic // by default (TLS certificates not verif ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key