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

New Post: error fetching email body text

$
0
0
Hi Pavel,
I'm trying to fetch message text body but it is giving me this error
"The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. "

on line 1 above

string plainTextBody = msg.Body.HasText ? msg.Body.Text : null;
string htmlBody = msg.Body.HasHtml ? msg.Body.Html : null;

it is giving error if chineese or anyother language written in the email body

Please help me with this.

Thanks.

Viewing all articles
Browse latest Browse all 1952

Trending Articles



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