By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,426 Members | 3,407 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,426 IT Pros & Developers. It's quick & easy.

some problems with HTML emails my PHP site is sending

P: n/a
I'm creating HTML emails from a PHP site and sending them out to an email
list (just about 40 people so far are on this list). I've tested and
confirmed that these emails work in yahoo.com's webmail. And I know they
work on *my* Outlook Express. But I have one person (I know of) who gets the
emails as plain text, so she sees the HTML code for the email instead of its
proper representation. She has, like myself, OE6, and other html emails (not
necessarily the emails that come from my site, but HTML emails I've sent her
directly with my OE), have worked OK.

I can't figure it out. I've checked the headers in the emails I've sent her
where it came out as plain text (she forwarded them back to me), and the
"Content-type: text/html; charset=iso-8859-1" line is present, so it's not a
missing header line.

Has anyone else experienced these problems and come to know why they happen?

thanks,
-dg
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello,

On 01/30/2004 06:45 AM, dan glenn wrote:
I'm creating HTML emails from a PHP site and sending them out to an email
list (just about 40 people so far are on this list). I've tested and
confirmed that these emails work in yahoo.com's webmail. And I know they
work on *my* Outlook Express. But I have one person (I know of) who gets the
emails as plain text, so she sees the HTML code for the email instead of its
proper representation. She has, like myself, OE6, and other html emails (not
necessarily the emails that come from my site, but HTML emails I've sent her
directly with my OE), have worked OK.

I can't figure it out. I've checked the headers in the emails I've sent her
where it came out as plain text (she forwarded them back to me), and the
"Content-type: text/html; charset=iso-8859-1" line is present, so it's not a
missing header line.

Has anyone else experienced these problems and come to know why they happen?


That sounds like a frequently experienced mail() function bug. In that
case you may want to try this class that comes with several workarounds
for some of the mail() function problems.

It also comes with thorough support to properly compose and send HTML
messages possibley with embedded images, alternative plain text parts
for users with non-HTML capable mail programs, attachements, etc..

http://www.phpclasses.org/mimemessage

--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

MetaL - XML based meta-programming language
http://www.meta-language.net/
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.