Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Created November 20, 2020 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-com-gists/07dd20cac9bac531178efbea38ea9b32 to your computer and use it in GitHub Desktop.
Save aspose-com-gists/07dd20cac9bac531178efbea38ea9b32 to your computer and use it in GitHub Desktop.
Connect Exchange Server in C#
// Connect to Exchange Server using ImapClient class
ImapClient imapClient = new ImapClient("ex07sp1", "Administrator", "Evaluation1");
imapClient.SecurityOptions = SecurityOptions.Auto;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment