Contact Form 7 Integration with Email Before Download plugin

Posted in wordpress

The plugins Email Before Download and WordPress Download Monitor can be used in conjunction with Contact Form 7 to send a file upon form submission.

http://wordpress.org/extend/plugins/email-before-download/

In order to have a pdf automatically sent after a form submission, you will need to upload the pdf via the “Downloads” link on the left.

You need to create a title in the first field and then upload the file.  After you have uploaded the file – note the ID number as you will need this info later.

If you want to see how the auto response text is generated, it’s under Settings > Email before download.  Currently every auto response subject line reads “Your download from xxxx” and the subject line is “Greetings, Here is the [file-name] you requested. Sincerely, xxxxx.

After you create the form and are ready to copy the shortcode into the page, the code will look a bit different from how the other forms work.  You will have to manually update the shortcode with this information:
[email-download download_id=”2″ contact_form_id=”2983”]

Note the ID numbers in red are specific to the download file and form you’ve created.