Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

New Post: Message Download is not working

$
0
0
Hi,

can you please tell me what i am doing wrong. I already downloaded the headers before. So the Message is not null. But msg.Body is null. Only if i downlaod with folder.Messages.Download and use the UID it will work.
Message aMassage = folder.Messages[index];

                    // this is not working
                    aMassage.Download(MessageFetchMode.Body);

                    // this is working to download body
                    long[] arrLong = new long[1];
                    arrLong[0] = aMassage.UId;
                    folder.Messages.Download(arrLong, MessageFetchMode.Body);

Viewing all articles
Browse latest Browse all 1952

Trending Articles



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