Re: Mail() and Attachments

From: Date: Thu, 26 Sep 2002 04:27:00 +0000
Subject: Re: Mail() and Attachments
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117669@lists.php.net to get a copy of this message
Hello, On 09/25/2002 07:00 PM, Tom Ray wrote:
I was wondering with mail() how do you attach a file to the message you are sending? I have to take the data from the form and write it to a CSV file that needs to be mailed to the client, I got everything put how to attach the CSV file to the mail when the script runs..
You may want to try this class that can compose and send a MIME message just like you need attaching any files you need among other things. http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos

« previous php.general (#117669) next »