Documentation ¶
Index ¶
- type Sender
- func (sender Sender) SendMail(dest []string, subject, bodyMessage string) error
- func (sender Sender) WriteEmail(dest []string, contentType, subject, bodyMessage string) string
- func (sender *Sender) WriteHTMLEmail(dest []string, subject, bodyMessage string) string
- func (sender *Sender) WritePlainEmail(dest []string, subject, bodyMessage string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
func NewSender ¶
func NewSender(cfg config.SMTPSetting) *Sender
func (Sender) WriteEmail ¶
func (*Sender) WriteHTMLEmail ¶
Click to show internal directories.
Click to hide internal directories.