Documentation ¶
Index ¶
- func ExtractURLs(text string) []string
- func MailBody(parts map[string]string) (string, error)
- func RenderTemplate(file string, article *reader.Article) ([]byte, error)
- func SendArticle(article *reader.Article, mime string, to string, readable bool) error
- func SendAttachment(r reader.Response, to string, url string) error
- func StripSignature(text string) string
- func VerifySPF(email string) (bool, error)
- type Mail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MailBody ¶
Returns the main body of the email; hopefully containing URLs.
func SendArticle ¶
func StripSignature ¶
TODO Strips the signature from an email.
Types ¶
Click to show internal directories.
Click to hide internal directories.