I need to create a very simple script with php. Just a simple form with an input field for the users name and another for the users email address. They click submit, and the script sends an email to that address, while attaching a PDF file that I specify in the script.
I've found many scripts out there that encompassed the user attaching a file and submitting but not the opposite where the user just gives their name & desired email address and the email & attachment is sent to them.
As a bonus I was hoping to either (A) have the script log the users name & email and email it to me or (B) blanket carbon copy me on the email it sends out to the user so I can capture the users information.
Thank you in advance!