I am trying to get a specific email body section using:
$message = imap_fetchbody ($imap_stream,$n,1);
This is great for emails sent using Outlook, Hotmail, Yahoo, etc. But when I try to get the body of an email sent from a Blackberry or Andriod device, the message is encoded and scrambled, for example:
xmb250IHN0eWxlPSdjb2xvcjojRjk3MWIxMDNiMTEyYjExOGI0N2I1MWI1
Although the body is encoded, the header is fine. How to decode the body of an email message sent from an Android or Blackberry device?
Thanks,
Chris.
source share