Alexis Mousset
73e7aa3639
test(transport): add sendmail transport
2016-10-23 20:50:30 +02:00
Alexis Mousset
cc6ca7633d
Merge branch 'sendmail' of https://github.com/paradoxix/lettre
2016-10-23 18:37:19 +02:00
Alexis Mousset
3b4f4a739e
style(all): Incompatible improvements in API
2016-10-23 17:16:54 +02:00
Stéphan Kochen
d50bb404b9
feat(transport-smtp): Add derives to SecurityLevel
2016-10-22 19:32:22 +02:00
Constantin Berhard
b415edcfe0
refactor(email): requested changes for PR #94
...
renamed variables meaningfully
return more errors in email building
modified some comments
PR #94
2016-10-22 18:11:35 +02:00
Lars Reichardt
13ee61d5cf
test(transport): add sendmail transport test
2016-10-21 15:54:53 +02:00
Lars Reichardt
a302df61d4
feat(transport): add sendmail transport
2016-10-21 14:22:47 +02:00
Constantin Berhard
7788498762
feat(email): support for a custom envelope
...
The EmailBuilder now has a function to add a preconfigured envelope,
overriding the auto generated one.
fixes #84
2016-10-19 13:00:41 +02:00
Constantin Berhard
9ed51a2d3d
fix(email): address-list for "To", "From" etc.
...
Recipients etc. are accumulated by the EmailBuilder and put into the
email as one header with an address-list instead of multiple headers.
This is required by RFC 5322. Also a new test for this behaviour was
added.
fixes #85
2016-10-16 20:32:23 +02:00
Alexis Mousset
a616c0d4c0
style(all): Fix doc and Cargo.toml openssl line
2016-09-01 00:39:04 +02:00
Alexis Mousset
b4603b4fbc
feat(transport-smtp): Use rust-openssl 0.8
2016-09-01 00:15:40 +02:00
Alexis Mousset
bc874fa8f4
feat(transport): Add an Error and Result type for each transport
2016-08-31 21:33:02 +02:00
Alexis Mousset
46ae195ba6
Merge branch 'master' into master
2016-08-02 01:15:41 +02:00
Alexis Mousset
75a85831ab
feat(email): Improve Email management
...
Add a new layer called SimpleEmail, useful for some transport (like Web APIs).
2016-08-02 01:14:22 +02:00
Tshepang Lekhonkhobe
79ac38c84d
docs(smtp): typo fixes
2016-06-26 21:46:54 +02:00
Alexis Mousset
2553b32196
feat(transport-smtp): Add a debug log for name resolution
2016-05-23 22:27:13 +02:00
Alexis Mousset
97da0c0869
style(all): improve the code thanks to rust-clippy
2016-05-17 00:54:11 +02:00
Alexis Mousset
d1bef702d6
style(all): run rustfmt 0.5
2016-05-14 12:17:09 +02:00
Alexis Mousset
b7039a7a69
feat(transport-smtp): Change default authentication mecanism default handling
...
Change the default authentication mechanism selection check if the
connection is encrypted, and only test PLAIN when it is the case.
Also make the .authentication_mechnaism only take one mechanism, as
a user will specify it he wants to ensure one particular method will
be used.
Closes #65
2016-05-10 00:12:39 +02:00
David Raifaizen
4f4a1436ae
refactor(client): Replacing manual unwrap with match statement
2016-05-06 22:56:49 -04:00
David Raifaizen
a8324795e5
style(all): Minor typo/grammar fixes
2016-05-06 22:56:33 -04:00
Alexis Mousset
fd20e90bb5
fix(email): Add required MIME-Version header
...
Add a MIME-Version header to all messages.
2016-05-06 00:33:31 +02:00
Alexis Mousset
f3742adc9f
Add documentation for multipart messages
2016-05-05 19:22:07 +02:00
Alexis Mousset
2d9ad22102
Improve multipart support
2016-05-05 16:32:42 +02:00
Alexis Mousset
4f6e6185fc
Do not use default type parameter in impl
2016-05-04 00:01:13 +02:00
Alexis Mousset
74de004e6c
Add initial multipart support
2016-05-03 23:51:30 +02:00
Alexis Mousset
d18eec4d1b
Doc formatting
2016-03-27 21:40:20 +02:00
Alexis Mousset
c9076fef63
Improve doc
2016-03-27 21:37:33 +02:00
Alexis Mousset
da8c733939
Improve doc
2016-03-27 21:06:18 +02:00
Alexis Mousset
dab8b111d3
Little refactoring
2016-03-25 21:54:15 +01:00
Alexis Mousset
f8c883f58e
rustfmt pass
2016-03-20 01:27:58 +01:00
Alexis Mousset
af20cfa8ff
Merge pull request #41 from amousset/master
...
Improve doc
2016-01-16 12:22:40 +01:00
Alexis Mousset
7a9f9111a5
Improve doc
2016-01-16 12:13:06 +01:00
Lorenz Brun
6ee7fdb3d1
Allow multiple To addresses in SimpleSendableMail
...
Because the struct internally stores a `Vec<String>` it would be nice to be able to construct messages with multiple To addresses.
This is in its current form a breaking API change, so feel free to change the way it's implemented.
2015-12-05 00:10:24 +01:00
Darius Clark
c436716277
Update 'openssl' to 0.7
2015-11-29 20:51:49 -05:00
Alexis Mousset
489a6e892e
Improve documentation
2015-10-31 21:23:06 +01:00
Alexis Mousset
5ffb169bc9
Comply with RFC1214
2015-10-29 23:26:20 +01:00
Alexis Mousset
9f177047f8
Add SMTPS support
2015-10-27 22:38:45 +01:00
Ashkan Kiani
8d9877233d
Renames and fixes typo from mecanism to mechanism
2015-10-27 06:20:04 -07:00
Alexis Mousset
40e749a04a
style(formatting): Run rustfmt
2015-10-26 22:51:07 +01:00
Alexis Mousset
e6dd9d5a46
Install complete openssl on windows
2015-10-25 23:40:59 +01:00
Alexis Mousset
62df24c5b1
Add file transport
2015-10-25 17:47:07 +01:00
Alexis Mousset
7ac43b73c3
Remove Mailer struct
2015-10-25 15:29:40 +01:00
Alexis Mousset
3c91c065d6
Split integration tests
2015-10-25 12:52:56 +01:00
Alexis Mousset
9a93feea96
Fix SMTPUTF8 test
2015-10-22 21:51:29 +02:00
Alexis Mousset
3acf21a316
Tests email with travis
2015-10-22 21:32:48 +02:00
Alexis Mousset
d3d7c4b44e
Formatting with rustfmt
2015-10-22 16:53:13 +02:00
Alexis Mousset
250ed7bcf4
Add SMTPUTF8 support
2015-10-21 23:02:14 +02:00
Alexis Mousset
54758ebde9
Rename rust-smtp to lettre, add multiple transports support
2015-10-14 23:44:25 +02:00
Alexis Mousset
bd67d80d3e
Try to authenticate only once
2015-10-12 23:46:12 +02:00