Merge branch 'main' of github.com:641i130/rust-imap
This commit is contained in:
commit
4bc80f30ff
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ fn main() {
|
|||
}
|
||||
|
||||
fn plaintext() -> imap::error::Result<Option<String>> {
|
||||
let stream = TcpStream::connect("imap.example.com:143").unwrap(); // This is an unencrypted connection.
|
||||
let stream = TcpStream::connect("imap.example.com:143").unwrap();
|
||||
let mut client = imap::Client::new(stream);
|
||||
client.read_greeting()?;
|
||||
eprintln!("\nUNENCRYPTED connection made!!!!\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue