[PHP] Re: Mail() and Attachments

2002-09-25 Thread Manuel Lemos

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




[PHP] Re: mail and attachments

2002-08-19 Thread Manuel Lemos

Hello,

On 08/19/2002 04:52 AM, Pafo wrote:
> i got a script that the user signs up on and send a profile to the owners
> email address
> but i want to implement a file upland and that the uploaded file should be
> submitted with the mail..
> 
> is this possible in php?
> i know its possible in cg..

You may want to try this class that lets you compose message with 
attachments and also lets you have HTML messages with embedded images 
and alternative text versions if you need it.

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