Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Send ¶
func Send(host string, user string, password string, explicitssl bool, fromaddr string, toaddr string, subject string, body string) (int64, []byte, error)
Send connects to SMTP server with given authentication and connection information. It then sends mail with subject to toaddr and returns the unix timestamp when the mail was send as integer, the smtp protocol log as []byte or, if applicable, an non-nil error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.