[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Multipart email php decoding

Posted on 2006-11-14
2
Medium Priority
?
358 Views
Last Modified: 2008-02-01
Before I migrated to a new linux server the php mail script built into the application worked with no issues. It was sending emails in html format with a logo.
now after the server migration it is decoding errors and the html code is showing up

I am getting this type of errors:
-----------------------------
X-Mailer: PHP-EMAIL,v2.0 (wmfwlr AT cogeco DOT ca)

MIME-Version: 1.0

Content-Type: multipart/alternative;
boundary="--60ef6ca862242a232bcbb4047f167538"
----60ef6ca862242a232bcbb4047f167538

Content-Type: text/plain; charset="iso-8859-1"

Content-Transfer-Encoding: 8bit

 <font size='3' face='Arial, Helvetica, sans-serif'>

Employee Name:&nbsp;&nbsp; Joe Smith

<br><br>

---------------------
Any ideas what may be wrong. Nothing on the script was changed, just the files moved to the new server. anything I can check?
0
Comment
Question by:onlinerack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
VoteyDisciple earned 1500 total points
ID: 17946499
None of those are actually errors, that's just part of the raw message getting displayed.

I suspect the problem is that somewhere the mail script is messing up where \r\n pairs go in the original message header (or is splitting up lines in a funny way).  If your e-mail client has a feature to view the raw source of the message (the headers and everything -- most do have such a feature) what do you see at the top leading up to that X-Mailer: header?
0
 
LVL 5

Author Comment

by:onlinerack
ID: 17977007
used a different script and that solved the problem. I agree with you, I did not like the script I was using but hey (as long as it worked why fix it) ;)
Thank you for your help
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question