How to Download PDF on form submission using Contact Form 7

I want the user to be able to download a PDF file after registering on the site with a simple ‘Name’ and ‘Email’ form. I have only one file to download, so it should be very simple and I don’t want to install a branch of plugins to achieve this. So I found this simple solution.

I just put the file URL into the Mail (2) content. We can use Mail (2) to send an email to the user who fills in the form. I have inserted the file URL in “Message Body” so the user can have access to the PDF.

That’s it…


I'm a freelance Wordpress Front-end Developer, work from my home office. Mostly do my freelance work on Upwork. I'm a TOP RATED freelancer with over 11K+ Work Hours. Specialize in HTML5, CSS3, SCSS, JavaScript, jQuery, Ajax, ES6, Bootstrap, PHP, MySQL, Wordpress, Woocommorce and Custom Wordpress Theme and Plugin Development

Leave a Reply

Close Menu