I previously created a post on How to Capture Email before Downloading a File in a post on WordPress, and I talked about three plugins which when clubbed together can do the trick.
- Email before Download
- Contact Form 7
- WordPress Download Monitor
But recently the support for Email before Download plugin has been discontinued and it hasn't been tested with the latest 3 major releases of WordPress. The issues with any plugin which is regularly not maintained are security and stability.
So I worked towards looking for a workaround, and then I came across a Plugin which can serve the purpose, not in the exact manner but in a pretty neat and stable way.
The plugin is called Email Download Link, its details shows that it has been tested till WordPress 5.2.1 at the time this post was written which is the latest version. The Plugin Support Forum also shows that it has been regularly discussed.
How to use Email Download Link? :
Step 1: Install the plugin Email Download Link from the WordPress plugin repository
Step 2: Once installed you will see 'Download Link' item on the left menu
Step 3: Go to Downloads > Add New > Enter the download link details:
Step 4: Once you submit the details, you'll get a short code for the download:
Step 5: You can now paste the respective shortcode in any page/post and you will see Name and Email fields with a 'send download link' button on the frontend.
Step 6: Once you enter details and submit, you'll see a confirmation message:
Step 7: And on the mentioned email address, you'll get the email with the link to file:
And the admin user will receive the submission details in a different mail:
Hope this will work for you, please feel free to share your thoughts in comments section below.