Commit Graph

90 Commits

Author SHA1 Message Date
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 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
Alexis Mousset b4e0d46f66 Use the extensions supported by the server 2014-11-03 12:00:00 +01:00
Alexis Mousset bc9ab343bd Split the IO commands from the client 2014-11-03 10:38:34 +01:00
Alexis Mousset f4d5b37597 Add the CRLF to the Command 2014-11-01 13:12:08 +01:00
Alexis Mousset 9b33233f35 fail! -> panic! 2014-10-30 22:36:58 +01:00
Alexis Mousset 76d465ce8e Remove Smtp from type names 2014-10-19 15:07:18 +02:00
Alexis Mousset 3041a5fdba Line length limited to 100 chars 2014-10-19 13:43:25 +02:00
Alexis Mousset da33c0eb39 Use a separate file for SmtpServerInfo 2014-10-19 04:37:13 +02:00
Alexis Mousset 9fd5317b6c Deny all warnings 2014-10-19 03:34:26 +02:00
Alexis Mousset 6e2110c814 The connecter module should not be public 2014-10-19 03:08:39 +02:00
Alexis Mousset cc17e275c8 Add client code and reorganize sources 2014-10-19 03:02:37 +02:00
Alexis Mousset d427510d85 Fix travis configuration 2014-10-14 16:03:57 +02:00
Alexis Mousset 85d3607cac Fix compilation 2014-10-13 12:47:11 +02:00
Alexis Mousset c33abcb1aa Reorganization 2014-07-13 18:41:35 +02:00
Alexis Mousset 6b22cac101 Let TcpStream::connect resolve hostnames 2014-05-17 13:11:51 +02:00
Alexis Mousset f4f884730b Rust update: f.buf.write -> f.write 2014-05-17 12:20:01 +02:00
Alexis Mousset 24acc2d34c Renaming structures of the smtp library 2014-05-14 19:16:57 +02:00
Alexis Mousset aa67048bb4 New TcpStream::connect() interface 2014-05-13 22:10:11 +02:00