mail

package
v0.0.0-...-82932a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSMTPAccount

func AddSMTPAccount(host string, username string, password string, quotaPerDay int) (int, error)

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

func SendMailWithAutoSelectSMTP(recv string, subj string, contentType string, body string) error

SendMailWithAutoSelectSMTP xxx

func SendMailWithSMTP

func SendMailWithSMTP(smtpID int, recv string, subj string, contentType string, body string) error

SendMailWithSMTP send mail

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL