Advertisement
Guest User

Untitled

a guest
Aug 24th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. ImapX.ImapClient client = new ImapX.ImapClient
  2. {
  3. Port = 993,
  4. UseSsl = true,
  5. Host = "imap-mail.outlook.com"
  6. };
  7. if (client.Connect())
  8. {
  9. client.Login("emailHere", "PassHere");
  10. var messages = client.Folders.Inbox.Search("ALL");
  11. MessageBox.Show("Done search...");
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement