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;
I'm fetching both html and plain text body but it is fetching only html body emails but not text body emails.
Please help me with this.
Thanks.
"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;
I'm fetching both html and plain text body but it is fetching only html body emails but not text body emails.
Please help me with this.
Thanks.