Session Logon

This application demonstrates how to connect directly via:

  • an email address, username and password (using Exchange Autodiscover),
  • an Exchange service url, username and password,
  • using profiles (using the Easy EWS Profile Manager):

It also demonstrates which logon options are available and how to use them.

Example code:


  EWSSession.AutodiscoverEMail      := edtAutodiscoverEMail.Text
  EWSSession.PasswordDialog         := False;
  EWSSession.Credentials.UserName   := edtDomain.Text + '\' + edtUserName.Text;
  EWSSession.Credentials.Password   := edtPassword.Text;
  EWSSession.Active := True;

Screenshots:


Back to Examples