none
O365 EWS read mail using asp.net web application RRS feed

  • Question

  • Hi,

     

    I have developed Console application  using EWS O365 DLL.

                    String MailboxToAccess = "";
                    ExchangeService service = new Microsoft.Exchange.WebServices.Data.ExchangeService();           
                    service.Credentials = new NetworkCredential("", "");             
                    service.TraceEnabled = true;
                    service.TraceFlags = TraceFlags.All;
                    service.AutodiscoverUrl(MailboxToAccess, adAutoDiscoCallBack);

    when i execute this .exe file  in client server i can able to read the email

    but this same code i have developed with asp.net,c# web application  using EWS O365 DLL and deployed to IIS client sever am not able to read the email

    am getting below error.

    Please help.

    Thanks,

    Deivendran


    deivendran

    Monday, March 19, 2018 4:35 AM

All replies

  • Hi,

     

    I have developed Console application  using EWS O365 DLL.

                    String MailboxToAccess = "";
                    ExchangeService service = new Microsoft.Exchange.WebServices.Data.ExchangeService();           
                    service.Credentials = new NetworkCredential("", "");             
                    service.TraceEnabled = true;
                    service.TraceFlags = TraceFlags.All;
                    service.AutodiscoverUrl(MailboxToAccess, adAutoDiscoCallBack);

    when i execute this .exe file  in client server i can able to read the email

    but this same code i have developed with asp.net,c# web application  using EWS O365 DLL and deployed to IIS client sever am not able to read the email

    am getting below error.

    Please help.

    Thanks,

    Deivendran


    deivendran



    deivendran

    Tuesday, April 3, 2018 5:33 AM