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
BuildMIMEfuncBuildMIME exposes MIME encoding for tests and custom transports.
SendsendMailfuncSend delivers msg using SMTP.

Types

SymbolNode.jsKindSummary
MessagetypeMessage is an outbound email.
SMTPConfigtypeSMTPConfig holds SMTP connection settings.

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