PEAR has a class which may be helpful. http://pear.php.net/package/Mail_Mime
On Thursday 23 October 2003 04:13 am, Don Mc Nair wrote: > Hi > > Can anyone tell me how to add a file as an attachment to an email sent with > something like the following ? > > $headers = "From: <".$fromaddress.">\r\n"; > $headers .= "Reply-To: <$fromaddress>\r\n"; > mail($toaddress, $subject, $mailcontent, $headers); > > Thanks > Don > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.529 / Virus Database: 324 - Release Date: 16/10/2003 -- Evan Nemerson [EMAIL PROTECTED] -- "A leader is the wave pushed ahead by the ship." -Leo Nikolaevich Tolstoy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php