Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
APIKey string `split_words:"true" required:"false"`
FromEmail string `split_words:"true" default:"ensign@rotational.io"`
AdminEmail string `split_words:"true" default:"admins@rotational.io"`
EnsignListID string `split_words:"true" required:"false"`
}
Configures SendGrid for sending emails and managing marketing contacts.
type EmailManager ¶
type EmailManager struct {
// contains filtered or unexported fields
}
EmailManager allows a server to send rich emails using the SendGrid service.
func New ¶
func New(conf Config) (m *EmailManager, err error)
New email manager with the specified configuration.
Click to show internal directories.
Click to hide internal directories.