Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ImapX.ImapClient client = new ImapX.ImapClient
- {
- Port = 993,
- UseSsl = true,
- Host = "imap-mail.outlook.com"
- };
- if (client.Connect())
- {
- client.Login("emailHere", "PassHere");
- var messages = client.Folders.Inbox.Search("ALL");
- MessageBox.Show("Done search...");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement