I need to find a form and script that will do the following: Website user fills in name and email. Website user recieves email with PDF attached. Website admin receives email with website user name and email or at least a copy of the email so that we can harvest the email addresses. It seems simple enough, but I can find no documentation as to how to attach files to an email with matt's or jack's scripts. Thanks in advance for any help or suggestions.
Set up an auto reply on a mailbox and have the autoreply message include the attachment. Then send an email with the users email as the reply-to address. Its doable in PHP, but its late, Im tired and this was way faster to write down
That's an idea that has some merit, unfortunately I do not have the control of the server that I would need to make this happen, and I would probably need an autoresponder in order to make it work properly. I still think there is a down and dirty way to do this with a script and form validation.
You could take a look at Pear's Mail class: http://pear.php.net/manual/en/package.mail.mail-mime.addattachment.php
Good idea, thanks, rep given. I will let you know if I come up with a solid solution. I am also interested on other ideas as well...