rcle Posted November 7, 2008 Share Posted November 7, 2008 Hello everybody, I have a question about sending automatically a PDF file to the reciever. I have a php form that stores fields to a mysql database. How can you program that the person who fills in the form automatically recieves an email with a pdf attachment? So the pdf file always remains the same. Thank you very much? Quote Link to comment https://forums.phpfreaks.com/topic/131761-php-function-that-sends-pdf-attachments-automatically-to-receiver/ Share on other sites More sharing options...
JonnoTheDev Posted November 7, 2008 Share Posted November 7, 2008 Use PEAR Mail_Mime to send the email with the PDF attachment http://pear.php.net/package/Mail_Mime The user will enter their email address into your form. Validate the email address and then send the email with the PDF attachment. Quote Link to comment https://forums.phpfreaks.com/topic/131761-php-function-that-sends-pdf-attachments-automatically-to-receiver/#findComment-684551 Share on other sites More sharing options...
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.