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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php