Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mail ¶
type Mail struct { // Sender Name FromName string // Sender email address From string // List of recipients To []string Cc []string Bcc []string // Mail subject as UTF-8 string Subject string // Headers are the headers Headers map[string]string // Body provides the actual body of the mail. // It has to be UTF-8 encoded, or you must set the Content-Type Header Body string }
Mail struct represents an e-Mail
type SMTP ¶
type SMTP struct {
Config
}
SMTP client session object. If a server advertise STARTTLS, it will encrypt all further communication after initial handshake
Click to show internal directories.
Click to hide internal directories.