nativeg Posted December 8, 2003 Posted December 8, 2003 I am working on a PHP mailer program, and everything on a normal email works fine. I cannot figure out how to make an attachment link to the email. Has anyone used the PHP mail command with attachments? Rock Sign Quote
TCH-Rob Posted December 8, 2003 Posted December 8, 2003 You may want to have a look here codewalkers.com/seecode/98.html, or here codewalkers.com/seecode/231.html. I have not done this myself but googling the term "php scripts attach email" seems to bring up a number of options. There may be others here that have done this. Quote
surefire Posted December 9, 2003 Posted December 9, 2003 Don't reinvent the wheel. I already wrote such a script. You can download version 1.7 now or wait less than 24 hours for an even better one... version 2.1 Beta. Ultimate Form Mail Quote
nativeg Posted December 9, 2003 Author Posted December 9, 2003 Thumbs Up Thanks Rob, I think that will do it. I will incorporate that extra code into the mail program, and change the names a little to match the names used in the HTML Form, and I think it will work Great.. I have been programming in PHP for a while now, but I had never figured out a solution to the problem. I was thinking I was going to have to write a little "c" code to create a function, but I figured if I asked, someone else had already seen it done. I like the Codewalkers website, as it is full of PHP tips and tricks. Again, Thank you. Rock Sign Quote
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.