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

New Post: Attachment issue

$
0
0
Thanks for the reply,

I'm not sure what exactly changed, but using the msg.Attachments approach works this evening.

Here are the 3 items that were changed...
1) We dropped the body content alltogether in the emails, so they just have a single attachment
2) I think client.Behavior.MessageFetchMode = ImapX.Enums.MessageFetchMode.Full; was set
3) I cleaned up the code a bit so that the entire client object is wrapped in a using statement, which calls a Connect, Login, then process the messages in a single method in the class containing the email processing login.

Perhaps one or all 3 changes did the trick as I'm able to process all messages.

Thanks again for your continued support of this package!

Viewing all articles
Browse latest Browse all 1952

Trending Articles



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