Commit Graph

10 Commits

Author SHA1 Message Date
Alexandre Cesaro 03dbed963f Added examples 2015-08-23 18:55:53 +02:00
Alexandre Cesaro 42c5f98096 Added a small performance tweak in getRecipients() 2015-07-29 22:47:37 +02:00
Alexandre Cesaro b01506efc6 Simplified variable name of Message 2015-07-29 22:47:36 +02:00
Alexandre Cesaro 79f88c6aa1 Fixed a typo 2015-07-29 22:47:36 +02:00
Alexandre Cesaro 4f6286485b Replaced Message.Export by Message.WriteTo
Message now implement io.WriterTo. It allows streaming
the message directly to the SMTP server without buffering it
first into memory.
2015-07-29 22:47:36 +02:00
Alexandre Cesaro 8de74d4f48 Removed the Bcc header field when sending emails
This way of handling Bcc field is described in RFC 5322 section 3.6.3:
https://tools.ietf.org/html/rfc5322#section-3.6.3

It makes the code much more simple and efficient.
2015-07-29 22:47:36 +02:00
Alexandre Cesaro ea9c2b2d08 Fixed an error message 2015-07-29 22:47:36 +02:00
Alexandre Cesaro 01674ee5b6 Replaced Mailer type with the Sender interface and SMTPDialer type
Fixes #10
Fixes #17
Fixes #32
2015-07-29 22:47:36 +02:00
alexcesaro 062b8e4ef3 Added support for SMTPS
Gomail now automatically uses SMTPS on port 465
2014-10-22 17:55:36 +02:00
alexcesaro a0730d2c47 Added the SetTLSConfig mailer setting 2014-10-22 17:47:24 +02:00