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

problem getting an email content

$
0
0

Hi all,

Im getting an odd problem on one email account created on a Exchange Server 2003.

Im connecting via java with the server to get all the unread emails from an account. When Im trying to get the content sometimes its getting the content correctly but other times Im getting an empty content. I have debug the application and realized that sometimes the server is getting the wrong content type value. When a text/html content is returned everything goes fine, i get the content but sometimes i'm getting a text/plain instead.

All that emails are multipart emails. The first iteration is correct both times i get text/plain but the second one is the one im getting the wrong content type value.

I have tested that pointing to other account and on that one i'm getting always the correct content type values so the email content is always correct.

I guess there must be somthing different between both accounts but i can't find anything. Any idea about that?

Thanks and regards


Viewing all articles
Browse latest Browse all 7132

Trending Articles



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