RE: [PHP] Multiple attachments in an email

2003-11-07 Thread Erik Osterman
es){ foreach($AttmFiles as $AttmFile){ $patharray = explode ("/", $AttmFile); $FileName=$patharray[count($patharray)-1]; $Msg.= "\n--".$OB."\n"; $Msg.="Content-Type: application/octetstream;\n\tname=\"".$FileName."\"\n"; $M

Re: [PHP] Multiple attachments in an email

2003-10-06 Thread Curt Zirzow
* Thus wrote Ajay Singh ([EMAIL PROTECTED]): > Hi, > > Please guide how to send multiple attachments in one mail through php mail script. > The following code is working for the one attachment: If you look at it closely you are already sending two attachements. For a guide read and implement:

[PHP] Multiple attachments in an email

2003-10-06 Thread Ajay Singh
Hi, Please guide how to send multiple attachments in one mail through php mail script. The following code is working for the one attachment: Thanks & regards, Ajay // Read POST request params into global vars $to = $_POST['to']; $from= $_POST['from']; $subject = $_POST['subject']; $m