Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPConfig ¶
SMTPConfig holds the configuration for the SMTP server
type Service ¶
type Service struct { SubjectPrefix string SMTPConfig SMTPConfig From string }
Service holds configuration for the SMTP server The sender address and an optional subject prefix
func NewMailService ¶
func NewMailService(subjectPrefix, from string, smtpConfig SMTPConfig) *Service
NewMailService returns a new Service with specified config
Click to show internal directories.
Click to hide internal directories.