BrightHearted Posted June 7, 2007 Share Posted June 7, 2007 Hello everyone. I found a PHP email script on the internet and it worked perfectly. I needed to modify to allow for more than one file attachment, and I can't seem to get it to work. It's not too long of a script, and I would truly appreciate it if anyone could help me out. I think I'm pretty close to getting it to work. Here is the code I'm using now: http://pastie.caboo.se/68636 Here is the original code that works (with only one attachment): http://pastie.caboo.se/68639 Any tips will be greatly appreciated, Thank you, Brad Quote Link to comment https://forums.phpfreaks.com/topic/54633-email-script-modifying-for-multiple-attachments/ Share on other sites More sharing options...
gtk Posted June 11, 2007 Share Posted June 11, 2007 I use this Class for sending Attachment Its So simple and easy $ext["attach"] = "atch.txt,test.wav"; $mail = new mail("admin@localhost", "Mail Subject", "Mail Body", $ext) You can also use in this way $mail = new mail("admin@localhost", "Mail Subject","Mail Body"); $test->atch("atch.txt,test.wav");//Set Attachment And Its So Easy Quote Link to comment https://forums.phpfreaks.com/topic/54633-email-script-modifying-for-multiple-attachments/#findComment-272423 Share on other sites More sharing options...
gtk Posted June 11, 2007 Share Posted June 11, 2007 OOPs I've forgotten to give you the URL its http://zigmoyd.sourceforge.net/man/mail.php#mail See Instruction and Installation on http://zigmoyd.sourceforge.net/man/index.php Quote Link to comment https://forums.phpfreaks.com/topic/54633-email-script-modifying-for-multiple-attachments/#findComment-272426 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.