Commit Graph

119 Commits

Author SHA1 Message Date
Alexis Mousset
d37ffb9b1e Update README with the new example client option for subject 2014-12-07 16:13:12 +01:00
Alexis Mousset
219ccbf6f7 Add a constructor for local mail server 2014-12-07 15:47:58 +01:00
Alexis Mousset
cc631b30bb Update documentation and add cc method 2014-12-07 14:52:12 +01:00
Alexis Mousset
693a18b6a1 Update documentation 2014-12-07 14:28:04 +01:00
Alexis Mousset
334613867d Update exmaple client with headers 2014-12-07 13:53:50 +01:00
Alexis Mousset
56bceaa47e email content in progress 2014-12-07 13:03:16 +01:00
Alexis Mousset
6a46f061a3 Fix default type params 2014-12-05 11:11:46 +01:00
Alexis Mousset
9b3f5c2f1c Begin to work on email content 2014-12-05 00:49:59 +01:00
Alexis Mousset
e0e993968e Remove unused attributes from lib.rs (desc, comment, license) 2014-12-02 13:58:51 +01:00
Alexis Mousset
64b8737244 Simplify the transaction mod 2014-12-01 22:03:11 +01:00
Alexis Mousset
cad6d5e263 Use if_let syntax 2014-12-01 17:29:41 +01:00
Alexis Mousset
2bbaff2a33 Merge pull request #6 from ArtemGr/patch-1
MAIL before RCPT in example
2014-12-01 09:51:58 +01:00
Artem
1c9d7261ed MAIL before RCPT in example
RCPT before MAIL leads to a "503 Bad sequence of commands" with Postfix.
2014-12-01 08:40:56 +03:00
Alexis Mousset
400c8359f6 Update cargo.toml with new fields 2014-11-21 13:37:02 +01:00
Alexis Mousset
c5b0696fc0 Fix enum scopes in tests 2014-11-21 13:28:22 +01:00
Alexis Mousset
1ac6150d50 Add enum imports 2014-11-20 17:04:06 +01:00
Alexis Mousset
490eebbd02 FromStr is now in str 2014-11-17 21:32:32 +01:00
Alexis Mousset
7aac045856 Code formatting 2014-11-14 02:18:36 +01:00
Alexis Mousset
2a1961c659 Add documentation 2014-11-14 01:32:18 +01:00
Alexis Mousset
1d87ea0537 Take a reference for recipients list 2014-11-12 11:47:05 +01:00
Alexis Mousset
d18921d0be Add documentation 2014-11-12 11:35:27 +01:00
Alexis Mousset
780abd4779 The client now takes a ToSockerAddr 2014-11-12 11:12:49 +01:00
Alexis Mousset
7279f85081 Update doc 2014-11-11 11:26:55 +01:00
Alexis Mousset
2ee20eb66c Split common.rs 2014-11-11 01:32:47 +01:00
Alexis Mousset
82be50327f Avoid unnecessary clone() 2014-11-11 00:55:10 +01:00
Alexis Mousset
226fae7248 Improving documentation 2014-11-10 21:37:43 +01:00
Alexis Mousset
809ecbbd07 Start documenting the error module 2014-11-10 01:01:12 +01:00
Alexis Mousset
3b3e74b7ef Make the server parameter optionnal 2014-11-10 00:39:21 +01:00
Alexis Mousset
5cb8b69fb9 Remove the with_code method from response 2014-11-09 23:52:20 +01:00
Alexis Mousset
808212a881 Add a test on the TransactionState constructor 2014-11-09 23:24:25 +01:00
Alexis Mousset
4ed9fd6454 Improve error handling 2014-11-09 23:14:12 +01:00
Alexis Mousset
ec495288b5 Client methods take &str 2014-11-07 20:42:22 +01:00
Alexis Mousset
67845bc13c Various changes, client refactoring 2014-11-07 20:25:58 +01:00
Alexis Mousset
ab99db2ce7 Add error handling to the example client program 2014-11-07 15:12:20 +01:00
Alexis Mousset
8f29cb7974 Improve error handling 2014-11-07 15:01:13 +01:00
Alexis Mousset
94d79862ff Error handling 2014-11-07 13:48:40 +01:00
Alexis Mousset
492d9bf0af TcpStream::connect() now takes ToSocketAddr 2014-11-06 21:12:50 +01:00
Alexis Mousset
4fa54e2908 Add STARTTLS keyword to the library 2014-11-06 10:31:48 +01:00
Alexis Mousset
134a907bab Move message checking to message() 2014-11-05 21:59:57 +01:00
Alexis Mousset
f104d9075c String::from_str() -> to_string() 2014-11-05 17:34:39 +01:00
Alexis Mousset
96274074bc Move esmtp extensions parsing to the extension module 2014-11-05 17:27:16 +01:00
Alexis Mousset
9272272c24 Code cleanup 2014-11-05 02:39:32 +01:00
Alexis Mousset
d5206ddeb1 Improve tests formatting 2014-11-04 22:29:53 +01:00
Alexis Mousset
52879065e3 String -> &str for common string functions 2014-11-04 21:53:59 +01:00
Alexis Mousset
ba6c879be1 Set command ending in the client 2014-11-04 18:51:08 +01:00
Alexis Mousset
22b2dad57f Add transparency for <CRLF>.<CRLF> 2014-11-04 17:50:44 +01:00
Alexis Mousset
fefc3e209f Add an ASCII test for Commands 2014-11-03 16:09:14 +01:00
Alexis Mousset
dcf89e774a Make ServerInfo::supports_feature return an Option 2014-11-03 16:05:21 +01:00
Alexis Mousset
09988e3af6 Add tests for the escape_crlf function 2014-11-03 15:20:49 +01:00
Alexis Mousset
870fa56e25 Escape CRLF in debug logs 2014-11-03 14:08:51 +01:00