Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailClient ¶
func NewMailClient ¶
func NewMailClient(serverName, smtpAddr, username, password string) *MailClient
Create new mail client. If your account use 2-fa authentication, you need to create password in for this device. ex for google mail server: https://stackoverflow.com/questions/60701936/error-invalid-login-application-specific-password-required/60718806#60718806
Click to show internal directories.
Click to hide internal directories.