Commit Graph

5 Commits

Author SHA1 Message Date
Alexandre Cesaro 3346e955b2 Lowered Go version requirement from 1.5 to 1.2 2015-07-29 22:47:36 +02:00
Alexandre Cesaro b01506efc6 Simplified variable name of Message 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 ac067c1594 Renamed export.go into writeto.go 2015-07-29 22:47:36 +02:00