Documentation ¶
Index ¶
- type SmtpConfig
- func (mc *SmtpConfig) Address() string
- func (mc *SmtpConfig) Auth() smtp.Auth
- func (mc *SmtpConfig) From() string
- func (mc *SmtpConfig) SendAttachBCC(bcc []string, subject string, message string, files []string)
- func (mc *SmtpConfig) SendBCC(bcc []string, subject string, message string)
- func (mc *SmtpConfig) SendSyncAttachBCC(bcc []string, subject string, message string, files []string) error
- func (mc *SmtpConfig) SendSyncBCC(bcc []string, subject string, message string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmtpConfig ¶
func (*SmtpConfig) Address ¶
func (mc *SmtpConfig) Address() string
func (*SmtpConfig) Auth ¶
func (mc *SmtpConfig) Auth() smtp.Auth
func (*SmtpConfig) From ¶
func (mc *SmtpConfig) From() string
func (*SmtpConfig) SendAttachBCC ¶
func (mc *SmtpConfig) SendAttachBCC(bcc []string, subject string, message string, files []string)
run sendAttachbcc on another goroutine
func (*SmtpConfig) SendBCC ¶
func (mc *SmtpConfig) SendBCC(bcc []string, subject string, message string)
run sendbcc on another goroutine
func (*SmtpConfig) SendSyncAttachBCC ¶
func (mc *SmtpConfig) SendSyncAttachBCC(bcc []string, subject string, message string, files []string) error
SendSyncAttachBCC send synchronous with attachment and BCC
func (*SmtpConfig) SendSyncBCC ¶
func (mc *SmtpConfig) SendSyncBCC(bcc []string, subject string, message string) error
SendSyncBCC send BCC using synchronous approach
Click to show internal directories.
Click to hide internal directories.