Alexandre Cesaro
|
df6fc79d10
|
Fixed a bug in AddAlternativeWriter
AddAlternativeWriter was replacing the message body instead
of adding a body part.
Fixes #44
|
2015-11-05 20:31:01 +01:00 |
Alexandre Cesaro
|
33430073ec
|
Fixed a panic when a Message contains a nil header
Fixes #41
Fixes #42
|
2015-10-22 11:01:07 +02:00 |
Alexandre Cesaro
|
8790779bce
|
Refactored file management
|
2015-08-03 22:57:38 +02:00 |
Alexandre Cesaro
|
9990d7c9fb
|
Improved the benchmark
|
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
|
69106c0cb2
|
Removed dead code
|
2015-07-29 22:47:36 +02:00 |
Alexandre Cesaro
|
13385d50ea
|
Added method Reset() to Message
Fixes #31
|
2015-07-29 22:47:36 +02:00 |
Alexandre Cesaro
|
9d308546b7
|
Made File struct more flexible
The File can now be streamed to the SMTP server directly without
being buffered into memory first.
Fixes #4
|
2015-07-29 22:47:36 +02:00 |
Alexandre Cesaro
|
66c8b9ae4c
|
Changed body content type from []byte to func(io.Writer) error
It allows streaming the message body when sending an email instead
of buffering it to memory.
|
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
|
31a7bd9a49
|
Renamed files
|
2015-07-29 22:47:36 +02:00 |