some problems with HTML emails my PHP site is sending

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dan glenn

    #1

    some problems with HTML emails my PHP site is sending

    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


  • Manuel Lemos

    #2
    Re: some problems with HTML emails my PHP site is sending

    Hello,

    On 01/30/2004 06:45 AM, dan glenn wrote:[color=blue]
    > 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?[/color]

    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

    Comment

    Working...