RE: [PHP] Webmail with Attach

2002-01-08 Thread Martin Towell
you just need to loop this part of the code: $msg_body .= "\n\n--Message-Boundary\n"; $msg_body .= "Content-type: $attach_type; name=\"$attach_name\"\n"; $msg_body .= "Content-Transfer-Encoding: BASE64\n"; $msg_body .= "Content-disposition: attachment; filename=\"$attach_name\"\n\n"; $m

RE: [PHP] Webmail with Attach

2002-01-08 Thread Jason Murray
> 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 fields, or you can grab the file attachment from the user, store it in a uniquely-named temporary directory, get another, and