Re: html mail
| From: | Mark Heintz PHP Mailing Lists | Date: | Mon, 10 Mar 2003 14:40:24 +0000 |
| Subject: | Re: html mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138958@lists.php.net to get a copy of this message | ||
The PEAR Mail_mime class tends to take the headache out of this sort of
thing. See the example at the bottom of the manual page:
http://pear.php.net/manual/en/core.mail.mime.php
mh.
On Mon, 10 Mar 2003, [iso-8859-1] Ian A. Gray wrote:
> Hi,
> I am quite new to php and I am trying to find a way of
> sending details of a web form over e-mail in both text
> and html format. There are numerous sites on the web
> that try and explain how to do this but they are
> worded very complicated and to be honest I haven't
> found one that is particularly good.
>
> I want to send an e-mail that contains html code, with
> the option of attatching images and other files as
> well as a text version of the email so that the viewer
> can read the same e-mail whether or not he can view
> html email or not.
>
> Any ideas?
>
> Ian Gray.