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