Documentation ¶ Index ¶ Variables type SendEmailParams Constants ¶ This section is empty. Variables ¶ View Source var SendEmail = sendEmail SendEmail is the default email sender. It can be replaced in tests. Functions ¶ This section is empty. Types ¶ type SendEmailParams ¶ type SendEmailParams struct { To string From string // Optional, if empty use config.SMTPFrom Subject string BodyHTML string BodyPlain string // Optional plain text fallback } SendEmailParams holds the parameters for sending an email. Source Files ¶ View all Source files email.go Click to show internal directories. Click to hide internal directories.