Jump to content

Recommended Posts

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

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.