Alexandre Cesaro
1d59d94f4e
Fixed badges links
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
4586cb75ac
Changed the internal representation of a part
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
71e3f5a0b4
Added Travis and other badges
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
83af4db704
Updated README.md
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
07a1f385b7
Simplified some code
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
5a1ac3fca0
Bumbed version to v2-unstable
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
88beb2f13c
Added the Support section in README.md
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
9f055c687b
Added CHANGELOG.md
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
8a81f4ad6f
Added CONTRIBUTING.md
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
9775d1d734
Added an example
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
d49395d6c9
Improved documentation
2015-07-29 22:47:37 +02:00
Alexandre Cesaro
0002611a09
Removed obsolete text in README.md
2015-07-29 22:47:36 +02:00
Alexandre Cesaro
867c4d1580
Fixed commented examples
2015-07-29 22:47:36 +02:00
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
79f88c6aa1
Fixed a typo
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
cab7c5adfb
Added a buffer to Message and removed the buffer pool
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
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
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
31a7bd9a49
Renamed files
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
Alexandre Cesaro
a7fe250544
Used the new quotedprintable package from the standard library
2015-07-29 22:47:36 +02:00
fzerorubigd
11b919ab49
remove dependency to quotedprintable.v1
...
since the v2 is already used in gomail.go
Closes #29 .
2015-03-20 14:28:19 +01:00
Alexandre Cesaro
74f94c0f26
Improved memory consumption
...
Closes #25
2015-03-17 15:40:16 +01:00
Alexandre Cesaro
19744cb73d
Fixed name encoding in adress headers
...
Closes #24 .
2015-03-14 20:42:51 +01:00
Alexandre Cesaro
cb55422c78
Improved performances by using a bytes.Buffer pool
2015-03-14 20:40:33 +01:00
Alexandre Cesaro
6a52a50597
Added quotes to names in address headers
...
Closes #23 .
2015-03-14 20:40:32 +01:00
Alexandre Cesaro
c7ca0f5da9
Fixed date headers
...
Closes #21 .
2015-02-28 16:46:44 +01:00
Alexandre Cesaro
6805982221
It is now possible to set the Content-ID of embeded files
...
Closes #20 .
2015-02-18 22:27:23 +01:00
Alexandre Cesaro
de623e612d
Added the LOGIN authentication mechanism support
...
Closes #16 .
2015-02-10 19:22:29 +01:00
Mateusz Czapliński
d7294067b8
Fix to emit at most 76 chars per line
...
From RFC 2045 (and also from looking at other packages), it appears that
line length limit is actually 76 characters, not 78. Also, this fixes
attachments broken before for a certain webmail client (roundcube).
Closes #18 .
2015-01-20 15:11:08 +01:00
Alexandre Cesaro
512e469f62
Fixed a bug when embedding multiple files.
...
Closes #12 .
2014-12-23 11:23:01 +01:00
alexcesaro
b4e3113e2d
Added a new encoding: Unencoded
2014-10-28 08:35:50 +01:00
alexcesaro
4fcb155d12
Fixed the "from" and "to" inputs of the SendMail function
...
Closes #3 .
2014-10-23 18:46:32 +02:00
alexcesaro
9d27291713
Fixed the Go version requirement
...
Closes #2 .
2014-10-23 15:31:55 +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
alexcesaro
c67e90c5bf
Fixed header date fields format
2014-10-20 17:34:59 +02:00
alexcesaro
6af2a76be2
Fixed some examples in comments
2014-10-20 16:39:30 +02:00
Yoshua Wuyts
ed0214dc63
Added syntax highlighting to README.md
...
Closes #1
2014-10-20 16:25:29 +02:00
alexcesaro
707e81ecee
Initial commit
2014-10-15 17:47:07 +02:00