RE: [PHP] HTML email with Outlook
| From: | Mike Brum | Date: | Tue, 15 Jul 2003 23:28:00 +0000 |
| Subject: | RE: [PHP] HTML email with Outlook | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155340@lists.php.net to get a copy of this message | ||
By the context, I'm sure it should read "...not all email clients
support HTML."
(I got a laugh out of it though ;)
-----Original Message-----
From: Johnny Martinez [mailto:jmartinez@citrusglobal.com]
Sent: Tuesday, July 15, 2003 7:21 PM
To: 'Curt Zirzow'; php-general@lists.php.net
Subject: RE: [PHP] HTML email with Outlook
"Remember not all email clients support email."
Did I read that right or is it a typo?
J
-----Original Message-----
From: Curt Zirzow [mailto:curt@zirzow.dyndns.org]
Sent: Tuesday, July 15, 2003 4:17 PM
To: php-general@lists.php.net
Subject: Re: [PHP] HTML email with Outlook
Tim Thorburn <immortal@nwconx.net> wrote:
> Hi,
>
> I've made a PHP script that sends out an automatic email through my
servers
> cron system, it works well, but I thought I'd try to do some HTML
> email to
> get things to line up a little better.
>
> To do so, I added the following line in my mail() command: -Type:
> text/html; charset=iso-8859-1
> When I check the messages sent out with Eudora, the HTML email comes
in
> perfectly. However, when I check with Outlook Express 6 - I get the
actual
> HTML code rather than the nicely formatted email that I had created.
>
> Should I be using another line in my mail() command? I've recieved
> HTML
> email before with Outlook Express on my machine without changing any
> settings at all. Also, I had sent an email from my script to hotmail
and
> the HTML email worked fine there too.
there are different ways to send html in an email and also very wrong
ways to send html in an email; very debatable topic from what I've seen.
I think your best bet is to use something like:
http://phpmailer.sourceforge.net/
You can send both plain/text and html. Remember not all email clients
support email. And a lot of people dont like it at all.
Of course if this is only for you to see I guess you can ignore all that
i said :)
Curt
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php