Re: How to attach a file to mail()

From: Date: Fri, 03 Jan 2003 23:45:26 +0000
Subject: Re: How to attach a file to mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130169@lists.php.net to get a copy of this message
Hello, On 01/03/2003 11:40 AM, Föíö Öxî‰êójînyóon wrote:
mail($to, $subject, $body, "From: $email"); how do I insert an attachment into this mail function, It would be submitted with file field and would be called attachment.
You may want to try this class. All you need to do is to pass the file name of the uploaded file to add as an attachment: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos

« previous php.general (#130169) next »