Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

How to download mail in different format using Microsoft Exchange Web Services Managed API 2.0?

$
0
0

Environment:  -

Exchange Server: - Exchange Server 2010 SP3

EWS API: - 2.0

IDE: - Visual Studio 2008

Language: - C#

.

Requirement: -

.

We are designing a C# based exe utility, which will download mail in following format: -

1- HTML

In case of HTML, following are the possibilities: -  

.

      i- Separate attachment with mail body

    Task: - If Attachments are separate, then we need to dump attachments in some folder and maintain body as body.html

.

      ii- Embed attachment with mail body

    Task: - If Attachments are embedding, and then we need to dump attachments and body as body.mht

.

     iii- Embed attachment within mail body, and also having separate attachment in mail

   Task: - Separate attachments will be saved in some folder and embed attachment, message body will be saved as body.mht

.

2- Plain Text

    i- Separate attachment with mail body

  Task: -Separate attachment will be saved in some folder, and body will be saved as body.txt

.

.

Following challenges, we are facing in development: -

Q: - How will we know Attachments are coming separate, Embed or both?

.

Q: - If attachments are Embed in body, then how will we save body as mht?

.

Kindly assist, I will be really thankful.




Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>