473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

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 3180
*** 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
1
by: Leszek | last post by:
Hi. I have problem with phpMailer 1.73 (windows version) After copying both class.phpmailer and class.smtp and also language file phpmailer.lang-pl to my php include directory im getting this...
0
by: SirShurf | last post by:
Hi, I am using a phpmailer class to send some forms over the email... And the problem is, that some ppl (especially problematic for me is the buyer....) getting the email as rough data (sorce...)...
2
by: prasenjit2007 | last post by:
Hello, can u help me sending Email with attachments using the Class phpMailer. On the website I have a link to an html form in which I input the parameters with the names 1)from(textbox name)...
1
by: abasel | last post by:
I've been looking everywhere for a forum dedicated to this script but so far could only find a mailing list. I Have two questions: 1) What doe the following mean? Warning: fsockopen() :...
3
by: =?iso-8859-1?B?RmFkpQ==?= | last post by:
Hello guys, I'm trying to create a script. When the script finished it sends notifications to users. I'm using phpmailer obviously to send the mails. I have an html version as well as a plain...
9
by: Lucanos | last post by:
Hi All, I am currently using PHPMailer to send out a set of emails on the execution of a PHP Script (obviously). My problem is that the PHPMailer action is returning a "true" result each time...
7
dlite922
by: dlite922 | last post by:
I can't seem to get it working with my smtp server. I can send the email through the command line like so: 220 localhost.localdomain ESMTP Sendmail 8.13.8/8.13.8; Wed, 6 Aug 2008 18:44:29...
2
mikek12004
by: mikek12004 | last post by:
Before posting here I google it and saw ablut 30 pages for a solution so I pretty much excluded the obvious things. The code is <?php //now to send the mails to seller...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.