> I need that that my webmail can send mail with many attach.
> How can I do it?

You could either ask the user how many attachments they want,
and present that number of <INPUT TYPE=FILE> fields, or you
can grab the file attachment from the user, store it in a 
uniquely-named temporary directory, get another, and another, 
and store them all in the temp directory until the user says
"right, that's it" at which point you read all the files in
your directory and send them as attachments. 

You've got the code right for sending one attachment, sending
mutliples is just another loop in the email assembly code.

Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to