Lorenzo Villani
c80f25c521
Make Dialer's domain configurable
...
The net/smtp library sends "localhost" unless otherwise instructed. This
commit adds a new "LocalName" field to the Dialer struct that allows
users to override what gets sent with SMTP's HELO command.
Fixes #40
2015-10-22 11:00:33 +02:00
Alexandre Cesaro
03dbed963f
Added examples
2015-08-23 18:55:53 +02:00
Alexandre Cesaro
1e43a4157e
Made NewPlainDialer arguments order more intuitive
2015-08-23 18:54:21 +02:00
Alexandre Cesaro
b01506efc6
Simplified variable name of Message
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
4b313106fd
Renamed SMTPDialer into Dialer
2015-07-29 22:47:36 +02:00
Alexandre Cesaro
f01c0a3645
Removed LoginAuth and updated NewPlainDialer to handle LOGIN auth
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