Skip to content
Node: nodemailer4 APIs

mail

Package mail sends email via SMTP, similar to nodemailer. Node equivalent: nodemailer

import "github.com/sahilkhaire/gox/mail"
## API reference

Select a symbol below — each page explains what it does, shows Node.js vs Go comparisons, and includes a runnable example.

Functions ​

SymbolNode.jsKindSummary
BuildMIME—funcBuildMIME exposes MIME encoding for tests and custom transports.
SendsendMailfuncSend delivers msg using SMTP.

Types ​

SymbolNode.jsKindSummary
Message—typeMessage is an outbound email.
SMTPConfig—typeSMTPConfig holds SMTP connection settings.

MIT Licensed · Built for Node.js developers moving to Go