Commit Graph

83 Commits

Author SHA1 Message Date
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
f3c5d2ebca Document the example program 2014-11-03 12:01:25 +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
1e46ac8600 Fix the link for documentation 2014-10-19 03:15:17 +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
136a752c3b Fix travis configuration 2014-10-13 12:59:23 +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
Alexis Mousset
391f1b44f7 Refactoring to create an SMTP library 2014-05-13 20:20:40 +02:00
Alexis Mousset
91e050bfc8 Refactoring to create an SMTP library 2014-05-13 20:20:14 +02:00
Alexis Mousset
54160b8b16 Reorganize sources 2014-05-12 19:10:09 +02:00
Alexis Mousset
7034f24fa7 Fix travis builds 2014-05-12 00:59:41 +02:00
Alexis Mousset
7b7f658420 Reorganize sources and improve makefile (inspiring from rust-empty) 2014-05-12 00:43:15 +02:00
Alexis Mousset
cc0c4d2029 Add html_root_url to the crate doc 2014-05-11 20:41:21 +02:00
Alexis Mousset
0d77f8729c Add html_root_url to the crate doc 2014-05-11 20:39:47 +02:00
Alexis Mousset
f54db73fa3 Display rustc version in travis builds 2014-05-11 20:37:56 +02:00
Alexis Mousset
276fe067be Update .travis.yml 2014-05-11 19:56:31 +02:00
Alexis Mousset
5a8d69e51b Better example command-line client 2014-05-11 19:31:45 +02:00
Alexis Mousset
d4c01b0a0e Represent SMTP reply codes by u16 2014-05-11 17:22:56 +02:00
Alexis Mousset
0e843103bf Simplify common functions on strings 2014-05-11 17:11:07 +02:00
Alexis Mousset
d0685d13a7 Better test strings 2014-05-11 15:44:00 +02:00
Alexis Mousset
2e2e70a533 Follow master 2014-05-11 11:36:49 +02:00
Alexis Mousset
8974c6808d Manage SMTP responses without text message 2014-05-09 20:48:21 +02:00
Alexis Mousset
79be407d94 Clean SMTP response message ending 2014-05-09 01:02:06 +02:00