I use POP3 to retrieve email attachment. There's only one attachment, always would be .csv, and email body is dis-regarded.
I build an orchestration to receive the email as XMLDocument message type and then assign it to message oXmessage which is type of XLANGMessage. And then instead of doing a loop i directly get the attachment using Out=oXmessage[1], since i thought index 0 is for the email body. This is working sweet in a system using outlook 2002.
But in outlook 2007, i have to get the attachment using Out=oXmessage[0] while keep the setting for POP3 Body part index to be 0 in receive location.
Another issue is with the content-type. When i send .txt file as attachment, it's working with text/plain.But just cannot transfer any .csv files even though i tried text/csv. The error i got is:
Error details: The MIME decoder cannot find a MIME part for the specified content-type. Either there was no matching content-type or there were not enough occurrences of it.
How can i get it work with csv? Or should using multi part message instead of using XLANGMessage type?
Regards,
Merry