Package mail sends email via SMTP, similar to nodemailer. Node equivalent: nodemailer
import "github.com/sahilkhaire/gox/mail"
Select a symbol below — each page explains what it does, shows Node.js vs Go comparisons, and includes a runnable example.
Functions
| Symbol | Node.js | Kind | Summary |
|---|---|---|---|
| BuildMIME | — | func | BuildMIME exposes MIME encoding for tests and custom transports. |
| Send | sendMail | func | Send delivers msg using SMTP. |
Types
| Symbol | Node.js | Kind | Summary |
|---|---|---|---|
| Message | — | type | Message is an outbound email. |
| SMTPConfig | — | type | SMTPConfig holds SMTP connection settings. |