Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct {
EmailOptions
PlainText string
HTML string
}
Email is a sendable mail object.
type EmailOptions ¶
type EmailOptions struct {
From *mail.Address // From is the name and email where this email is sent from.
To []mail.Address // To holds one or more recipients.
Subject string // Subject holds the email subject.
Headers map[string]interface{} // Headers are standard email headers.
Options interface{} // Options can be a custom interface provided by the mailer implementation.
}
EmailOptions defines the configurations of a given email.
Click to show internal directories.
Click to hide internal directories.