Re: HTML and text email
| From: | Jason Wong | Date: | Tue, 08 Oct 2002 20:30:04 +0000 |
| Subject: | Re: HTML and text email | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119333@lists.php.net to get a copy of this message | ||
On Wednesday 09 October 2002 04:26, Chris Cook wrote:
> Hello all,
>
> I am trying to send out a multi-part email that is both text and HTML. The
> HTML is so I can embed links into the email. However, some of my clients
> have text-only email programs and all the HTML tags are visible. Is there a
> way that I can display HTML in the HTML enabled programs and text in the
> text-only email programs?
>
> This is the header that I currently use.
>
> $headers = "MIME-Version: 1.0\r\n";
> $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
Goto www.phpclasses.org for some classes which does the job properly.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The man who runs may fight again.
-- Menander
*/