Documentation ¶
Index ¶
- func Attach(filelist string)
- func Bcc(bcclist string)
- func Cc(cclist string)
- func SendMail(from string, to string, subject string, text string) (err error)
- func SetConfig(server string, port int, username string, password string, tls bool)
- func SetContentType(contentType mail.ContentType)
- func SetMaxSize(maxsize int64)
- type MailConfigType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetContentType ¶
func SetContentType(contentType mail.ContentType)
SetContentType allows to modify the Content type of the mail
func SetMaxSize ¶
func SetMaxSize(maxsize int64)
SetMaxSize limits the size of attached files, 0 to disable
Types ¶
Click to show internal directories.
Click to hide internal directories.