Commit Graph

10 Commits

Author SHA1 Message Date
Jacob Hoffman-Andrews 556afa3547 Reuse a single connection to SMTP server.
Also, add a Subject config field and use TLS-wrapped SMTP if appropriate.
2016-01-11 15:51:54 -08:00
Jacob Hoffman-Andrews b61c2a7e3a Add a From field to mailer config.
Fixes #1351.
2016-01-07 12:24:51 -08:00
Roland Shoemaker 4e569184d5 Disallow non-ASCII addresses 2016-01-06 17:26:59 -08:00
Roland Shoemaker aa94f07081 Review fixes 2016-01-06 17:13:04 -08:00
Roland Shoemaker 95f5a5b0a0 Strip LF from headers and encode body using MIME quoted-printable 2016-01-06 15:54:40 -08:00
Roland Shoemaker 043bfd8041 Add header/body escaping 2016-01-04 10:39:33 -08:00
Roland Shoemaker cb18c22c0d Use crypto/rand for Message-Id 2015-12-31 23:59:35 +00:00
Roland Shoemaker aacafb7ff5 Add unit test 2015-12-29 20:50:26 +00:00
Roland Shoemaker 696c558bc9 cleanups 2015-04-17 17:46:12 -07:00
Roland Shoemaker b89934aadb actually add it... 2015-04-17 17:41:50 -07:00