Documentation ¶
Index ¶
Constants ¶
View Source
const TYPE_HTML = "MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n"
View Source
const TYPE_IMG_GIF = "MIME-version: 1.0;\nContent-Type: image/gif; charset=\"UTF-8\";\n\n"
View Source
const TYPE_IMG_JPGE = "MIME-version: 1.0;\nContent-Type: image/png; charset=\"UTF-8\";\n\n"
View Source
const TYPE_IMG_PNG = "MIME-version: 1.0;\nContent-Type: image/jpeg; charset=\"UTF-8\";\n\n"
View Source
const TYPE_TEXT_PLAIN = "MIME-version: 1.0;\nContent-Type: text/plain; charset=\"UTF-8\";\n\n"
Variables ¶
This section is empty.
Functions ¶
func Send ¶
func Send(config *Config, data DataToSend) error
Types ¶
Click to show internal directories.
Click to hide internal directories.