473,386 Members | 1,654 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,386 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 3177
*** 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 programacin 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 programacin 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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.