none
exchange ews 2.2 RRS feed

  • Question

  • I would like to get emails from exchange server in vb.net. Any examples?

    ... Podlesnick ...

    Friday, October 13, 2017 8:31 PM

Answers

  • Take a look at the following example

    https://dotnetco.de/how-to-use-microsoft-exchange-webservices-ews-with-vb-net/

    The best examples are in C#, the link below has 31 examples. Usually I would only present C# examples that would be easy to convert to vb.net, these are not easy but provided them to show that they are out there.

    https://code.msdn.microsoft.com/exchange/Exchange-2013-101-Code-3c38582c

    The best are third party libraries that are not cheap yet if this functionality is critical to your business then I would suggest searching for third party libraries as the up front cost may be high one must consider time they need to invest to write this functionality themselves and also maintain.

    Lastly, no matter which path is taken you will need to install additional software and in some cases need to deal with authentication that may only be available for web services.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Saturday, October 14, 2017 10:36 AM
    Moderator
  • Hi Podlesnick,

    I search some example that may be helpful to you, please take a look:

    Retrieve Email from Exchange Server with Web Service (EWS) in VB.NET

    Reading Email and Attachment From Microsoft Exchange Server

    Best Regards,

    Cherry

    Note:
    This response contains a reference to a third party World Wide Web site.
    Microsoft is providing this information as a convenience to you. 

    Microsoft
    does not control these sites and has not tested any software or information
    found on these sites; Therefore, Microsoft cannot make any representations
    regarding the quality, safety, or suitability of any software or information
    found there.

    There are
    inherent dangers in the use of any software found on the Internet, and
    Microsoft cautions you to make sure that you completely understand the risk
    before retrieving any software from the Internet. 



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Podlesnick Sunday, October 22, 2017 8:06 PM
    Monday, October 16, 2017 7:09 AM
    Moderator

All replies

  • Take a look at the following example

    https://dotnetco.de/how-to-use-microsoft-exchange-webservices-ews-with-vb-net/

    The best examples are in C#, the link below has 31 examples. Usually I would only present C# examples that would be easy to convert to vb.net, these are not easy but provided them to show that they are out there.

    https://code.msdn.microsoft.com/exchange/Exchange-2013-101-Code-3c38582c

    The best are third party libraries that are not cheap yet if this functionality is critical to your business then I would suggest searching for third party libraries as the up front cost may be high one must consider time they need to invest to write this functionality themselves and also maintain.

    Lastly, no matter which path is taken you will need to install additional software and in some cases need to deal with authentication that may only be available for web services.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Saturday, October 14, 2017 10:36 AM
    Moderator
  • Hi Podlesnick,

    I search some example that may be helpful to you, please take a look:

    Retrieve Email from Exchange Server with Web Service (EWS) in VB.NET

    Reading Email and Attachment From Microsoft Exchange Server

    Best Regards,

    Cherry

    Note:
    This response contains a reference to a third party World Wide Web site.
    Microsoft is providing this information as a convenience to you. 

    Microsoft
    does not control these sites and has not tested any software or information
    found on these sites; Therefore, Microsoft cannot make any representations
    regarding the quality, safety, or suitability of any software or information
    found there.

    There are
    inherent dangers in the use of any software found on the Internet, and
    Microsoft cautions you to make sure that you completely understand the risk
    before retrieving any software from the Internet. 



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Podlesnick Sunday, October 22, 2017 8:06 PM
    Monday, October 16, 2017 7:09 AM
    Moderator
  • thanks.

    and what 3rd party libraries specifically do you mean?


    ... Podlesnick ...

    Sunday, October 22, 2017 8:04 PM
  • thanks, this helped a lot

    ... Podlesnick ...

    Sunday, October 22, 2017 8:06 PM