Hi im used the MapiMessage, i have in an message object whit the content of a body mail, and when i try to save the body message in the attribute mapiMessageFile.setBody(part.getContent().toString()) i have a problem... it work whit a string "something", but not if you pass an object String like i do....; when i open the msg file i can see the error: ASE64DecoderStream, i attach an imagen where you can see the problem.
MapiMessage.setBody() method requires a String type argument, for setting the text body. Could you please share some more code sample how you are setting the body?
If you already have a message loaded, you may set as follows:
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.