Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPConfig ¶
type SMTPConfig struct { From string `split_words:"true"` Password string `split_words:"true"` To string `split_words:"true"` Host string `split_words:"true"` Port int `split_words:"true" default:"587"` Subject string `split_words:"true" default:"New Form Received"` ReplyTo string `split_words:"true"` BodyTemplateFile string `split_words:"true"` BodyHTMLTemplateFile string `split_words:"true"` }
SMTPConfig defines SMTP configuration.
type SMTPSender ¶
type SMTPSender struct {
// contains filtered or unexported fields
}
func NewSMTPSender ¶
func NewSMTPSender(cfg SMTPConfig) (*SMTPSender, error)
func (*SMTPSender) EmailSender ¶
func (s *SMTPSender) EmailSender() Sender
Click to show internal directories.
Click to hide internal directories.