468,291 Members | 1,409 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,291 developers. It's quick & easy.

phpmailer.class messages are been converted to plain text...

Hi, I am using a phpmailer class to send some staff over the email...

I am tring to send it with text/html but for some reason the email are
been converted to plain and all the headers are shown, here is the
email...

X-Tour4Less.co.il Mailer:
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_27976937fb6a931b3ed2d40aebd76a26"
--b1_27976937fb6a931b3ed2d40aebd76a26
Content-Type: text/plain; charset = "windows-1255"
Content-Transfer-Encoding: 8bit

×*יסיון עברית

--b1_27976937fb6a931b3ed2d40aebd76a26
Content-Type: text/html; charset = "windows-1255"
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"<html>
<head>

<META HTTP-EQUIV="Content-Type" content="text/html;
charset=windows-1255"</head<body<p dir=RTL><span
lang=HE>שלום&nbsp;חברת
Tour4less contact .</span></p<p dir=RTL><span
lang=HE>משתמש של
האתר שלנו </span><span
dir=LTR>TOUR4LESS.CO.IL</span><span dir=RTL></span><span lang=HE><span
dir=RTL></spanהתעניין
ביצירת קשר
איתו ע&quot;י
נציג
שלכם.<o:p></o:p></span></p>
<p dir=RTL><span lang=HE>שמו של
המשתמש הוא:
</span><span dir=LTR></span><span dir=LTR><span dir=LTR></span>אלכס
פר×*קל</span></p<p dir=RTL><span
lang=HE>כתובת
דואר
אלקטרוני: </span><span
dir=LTR></span><span lang=HE dir=LTR><span dir=LTR></span><span
style='mso-spacerun:yes'>Â*</span></span><span
dir=LTR>br**@bred.com</span><span lang=HE><o:p></o:p></span></p<p
dir=RTL><span lang=HE>מספר
טלפון
ליצירת קשר:
</span><span dir=LTR></span><span dir=LTR><span
dir=LTR></span>987654321</span></p>
<p dir=RTL><span lang=HE>מספר
טלפון
סלולרי: </span><span
dir=LTR></span><span dir=LTR><span
dir=LTR></span>9876543210</span><span lang=HE><o:p></o:p></span></p<p
dir=RTL><span lang=HE>הערות
נוספית: ×*יסיון מהאצר
2<o:p></o:p></span></p<p dir=RTL><span
lang=HE>לשימושכם<o:p></o:p></span></p>
<p dir=RTL><span lang=HE>מנהל
האתר </span><span
dir=LTR>TOUR4LESS.CO.IL</span><span lang=HE><o:p></o:p></span></p>
</body>

--b1_27976937fb6a931b3ed2d40aebd76a26--

Sep 1 '06 #1
2 2959
*** si******@gmail.com escribió/wrote (1 Sep 2006 10:49:56 -0700):
Hi, I am using a phpmailer class to send some staff over the email...

I am tring to send it with text/html but for some reason the email are
been converted to plain and all the headers are shown, here is the
email...
It's very hard to debug anything if all you provide is the ending part of
the generated message. Whatever, the

X-Tour4Less.co.il Mailer:

.... part is definitively incorrect. A header cannot contain white spaces.
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Sep 2 '06 #2
Ok, so tell me what I need to post so you can help me...
Alvaro G. Vicario wrote:
*** si******@gmail.com escribió/wrote (1 Sep 2006 10:49:56 -0700):
Hi, I am using a phpmailer class to send some staff over the email...

I am tring to send it with text/html but for some reason the email are
been converted to plain and all the headers are shown, here is the
email...

It's very hard to debug anything if all you provide is the ending part of
the generated message. Whatever, the

X-Tour4Less.co.il Mailer:

... part is definitively incorrect. A header cannot contain white spaces.
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Sep 2 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Nick Flandry | last post: by
1 post views Thread by Leszek | last post: by
reply views Thread by SirShurf | last post: by
1 post views Thread by abasel | last post: by
3 posts views Thread by =?iso-8859-1?B?RmFkpQ==?= | last post: by
9 posts views Thread by Lucanos | last post: by
dlite922
7 posts views Thread by dlite922 | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.