Documentation ¶
Overview ¶
Package smtpdrv sends notification email using net/smtp
This driver is not mean to be high performance, just provides a simple way to send email without applying external services other than your mailbox. To make code simpler, it always sends email in MIME+base64 format, slow but always works.
Take a look at TestPayloadAttach(), it also demonstrates how to embed images in html email (works in some popular clients including gmail web/app).
Index ¶
Constants ¶
View Source
const SMTP = "SMTP"
SMTP is the driver type that sends plain text email
View Source
const SMTPHTML = "SMTPHTML"
SMTPHTML is the driver type that sends html email
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.