rust-imap/examples
2021-03-28 15:27:39 -04:00
..
basic.rs Even more doc updates 2018-11-22 14:00:58 -05:00
gmail_oauth2.rs Clippy clean 2018-11-22 14:27:07 -05:00
idle.rs Add IDLE example. 2021-03-28 15:27:39 -04:00
README.md Add timeout example 2020-06-22 08:03:56 +02:00
rustls.rs Remove unnecessary dotenv dependency 2019-09-18 09:04:01 -07:00
starttls.rs Changed: description update, plus code formatting 2020-05-20 08:34:13 +02:00
timeout.rs Add timeout example 2020-06-22 08:03:56 +02:00

Examples

This directory contains examples of working with the IMAP client.

Examples:

  • basic - This is a very basic example of using the client.
  • gmail_oauth2 - This is an example using oauth2 for logging into gmail as a secure appplication.
  • rustls - This demonstrates how to use Rustls instead of Openssl for secure connections (helpful for cross compilation).
  • timeout - This demonstrates how to use timeouts while connecting to an IMAP server.