Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPConfig ¶
type SMTPConfig struct { Server string Port int ConnectSSL bool // empty is for common case Identify string Username string Password string From string }
func (*SMTPConfig) GetSMTPMailSender ¶
func (c *SMTPConfig) GetSMTPMailSender() *SMTPMailSender
type SMTPMailSender ¶
type SMTPMailSender struct {
// contains filtered or unexported fields
}
func NewSMTPMailSender ¶
func NewSMTPMailSender(c *SMTPConfig) (*SMTPMailSender, error)
func (*SMTPMailSender) GetAuthClient ¶
func (*SMTPMailSender) IsAvailable ¶
func (s *SMTPMailSender) IsAvailable(ctx context.Context) (bool, string)
func (*SMTPMailSender) SendWithContext ¶
Click to show internal directories.
Click to hide internal directories.