Documentation
¶
Index ¶
- func AddSMTPAccount(host string, username string, password string, quotaPerDay int) (int, error)
- func GetAllSMTPAccount() (*[]models.SMTPAccount, error)
- func GetAvailableSMTPAccount() (*models.SMTPAccount, error)
- func SendMail(smtpAccount *models.SMTPAccount, recv string, subj string, contentType string, ...) error
- func SendMailWithAutoSelectSMTP(recv string, subj string, contentType string, body string) error
- func SendMailWithSMTP(smtpID int, recv string, subj string, contentType string, body string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSMTPAccount ¶
AddSMTPAccount xxx
func GetAllSMTPAccount ¶
func GetAllSMTPAccount() (*[]models.SMTPAccount, error)
GetAllSMTPAccount xxx
func GetAvailableSMTPAccount ¶
func GetAvailableSMTPAccount() (*models.SMTPAccount, error)
GetAvailableSMTPAccount xxx
func SendMail ¶
func SendMail(smtpAccount *models.SMTPAccount, recv string, subj string, contentType string, body string) error
SendMail send mail
func SendMailWithAutoSelectSMTP ¶
SendMailWithAutoSelectSMTP xxx
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.