Jump to content

Php function that sends PDF attachments automatically to receiver


Recommended Posts

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?

 

 

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.

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.