Ok guys, I got my last problem solved ... (see checking email addresses) but I have a problem with email headers ..

When I send to my mailing group (piped to script where the email is checked against db for user email addresses and then sent out to members) with yahoo, when I recieve it in my msn account I get this ...

"--0-1237575416-1051831685=:22785
Content-Type: text/plain; charset=us-ascii

sdfsdf


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
--0-1237575416-1051831685=:22785
Content-Type: text/html; charset=us-ascii

<DIV>sdfsdf</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/search/mailsig/*[url]http://search.yahoo.com[/url]">The New
Yahoo! Search</a> - Faster. Easier. Bingo.
--0-1237575416-1051831685=:22785--
"

Will setting the headers on the script to text/html solve this problem? It's imperative that my script be cross-compatible with both msn/hotmail and yahoo email ....

Thanks

    It should. As you can see, that's sending the email as plain text, and as such the client is reading it like that. So, text/html should be the go, unless the client program can't parse html emails . . . but you can't please EVERYONE 😉

      Originally posted by matt_4013
      It should. As you can see, that's sending the email as plain text, and as such the client is reading it like that. So, text/html should be the go, unless the client program can't parse html emails . . . but you can't please EVERYONE 😉

      I thought it might be it, cos I never specified content headers in the mail function ... hotmail usually displays html email, and so does yahoo, can you remind me where I put the code and what it is? It's 2:17am lol, I wanna get this licked before I hit the sack!!

      Cheers bud

        ahhhggg,

        now I'm getting --0-812468576-1051839091=:39413 Content-Type: text/plain; charset=us-ascii sdfsdf --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. --0-812468576-1051839091=:39413 Content-Type: text/html; charset=us-ascii

        at the top of the mails before my messages....why won't this woooorrrrkkkk .....

          It's still sending as text/plain. Does your host support sending html emails?

            I'm sure it does because with a previous website I was doing I used a html email.....but I'll check it out....

              Write a Reply...