Jump to content


IMAP output Problem (Please help me......!?)

  • Please log in to reply
No replies to this topic

#1 mrg2007

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 06 September 2006 - 05:37 AM

i have problem with output of imap_body function
when i receive a mail with html form
i face to additional text around the main of message in email
for example :
i send a message(email) by outlook express with html format to my email that i want show by imap_body like this:
Hello World!

after send a email with outlook express
i use this code to view my email:
echo nl2br(imap_body($mail,$i));

this text view in my output:

This is a multi-part message in MIME format.

Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Hello World

Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable

xmlns:w=3D"urn:schemas-microsoft-com : office:word" =

embed'> style=3D'font-size:10.0pt;font-family:Arial'>Hello
World face=3DArial> lang=3DAR-SA dir=3DRTL =
style=3D'font-size:10.0pt;font-family:Arial'> dir=3DRTL>! size=3D2 face=3DArial> style=3D'font-size:10.0pt;font-family:Arial'> >

and when i send email in persian language this text will be changed.    :( :o

but when i receive that email by outlook express just see Hello World string without any additional things  ???

are there any one whom help me and say to me what shall i do to get correct view message with imap_body  :-*

Thank You 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users