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 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 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 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
Archived
This topic is now archived and is closed to further replies.