i have read the mail in php with imap_fetchbody() and decode it with imap_qprint().
$body = imap_fetchbody($mbox, $no, 1);
$body = imap_qprint($body);
but there is difference between original mail and output mail
Original mail:
Plain Text
This is a testing mail to check
first second third fourth fifth sixth Home
this is yellow background
website: http://bizved.com
testing of quote
Thank you Hiren Manek Bhuved Solutions
output mail
Plain Text
This is a testing mail to check
first second third fourth fifth sixth Home
this is yellow background
website:�http://bizved.com
testing of�quote
Thank you �Hiren Manek Bhuved Solutions
can anybody gives solution?
thanks in advance.
I have make the following solution as mail headers already its character set.
This not full solution. It’s only for character encoding. Mail has different parts for plain text, html text, attachments, etc. for that you should have different handling for each type.