Title: Email Before Download
Author: ashokaggarwal
Published: <strong>27. Januara 2011.</strong>
Last modified: 17. Juna 2024.

---

Pretražite dodatke

![](https://ps.w.org/email-before-download/assets/banner-772x250.jpg?rev=1813522)

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

![](https://ps.w.org/email-before-download/assets/icon-256x256.jpg?rev=1813522)

# Email Before Download

 Od [ashokaggarwal](https://profiles.wordpress.org/ashokaggarwal/)

[Skini](https://downloads.wordpress.org/plugin/email-before-download.zip)

 * [Detalji](https://bs.wordpress.org/plugins/email-before-download/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/email-before-download/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/email-before-download/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/email-before-download/#developers)

 [Podrška](https://wordpress.org/support/plugin/email-before-download/)

## Opis

6.x Release is Here!

After a hiatus from EBD development, a community member has reached out and partnered
with us to breathe life back into EBD! We have recently made updates to fix issues
and enhance capabilities of EBD. Stay tuned for more to come in EBD v6.x and above!

Email Before Download (EBD) presents your users with a form where they submit information,
like their name and email address, prior to receiving a download. This plugin integrates
with the popular [Contact Form 7](http://bit.ly/dNzVJd) and [WordPress Download Monitor](http://bit.ly/ifff4y)
plugins, allowing you to create any form you like and manage/monitor your file downloads.
You can also EXPORT a list of users that have downloaded files from the plug-in's
settings page. Prior to installing Email Before Download, please confirm each of
the dependent plugins is already installed and working independently.

As an option, you can configure Email Before Download to:

 1. Display a link to your file directly under the contact form once it is submitted.
    This happens dynamically, inline of your post/page.
 2. Send the user an email with a link and/or attachment to download your file.
 3. Both #1 and #2

[Plugin Homepage with Live Demos and Test Download](http://www.mandsconsulting.com/products/wp-email-before-download)
| [Support Forums](http://bit.ly/lU7Tdt) | [Customer Feedback Page](https://www.mandsconsulting.com/wordpress-email-before-download-customer-feedback/)

Usage

Note: You can see screenshots at [https://wordpress.org/extend/plugins/email-before-download/screenshots/](http://bit.ly/g4r1w2)

 1. Create a contact form used by Email Before Download using Contact Form 7 and note
    the Contact Form ID
 2. Upload a file using Download Monitor and note the Download ID
 3. Navigate to the Post (or Page) you wish to include
 4. Add the following short code using the IDs collected in the first two steps
     [email-
    download download_id=”X” contact_form_id=”Y”]

Plugin Homepage with Live Demos and Test Download: [http://www.mandsconsulting.com/products/wp-email-before-download](http://www.mandsconsulting.com/products/wp-email-before-download)

Please use the [Support Forums](http://bit.ly/lU7Tdt) for any questions and issues.
Sometimes other users can help you as well.

## Slike ekrana

 * [[
 * Note the ID of a file you have uploaded to Download Monitor.
 * [[
 * Note the ID of a contact form you have created using Contact Form 7.
 * [[
 * Use the following shortcode in your page or post: [email-download download_id
   =”X” contact_form_id=”Y”].
 * [[
 * Upon installation and use of the plugin on a post/page, an end-user will see 
   your contact form.
 * [[
 * User will be required to enter valid data in accordance with Contact Form 7 validation
   rules.
 * [[
 * Upon submission, user will either see a direct link below the form. (Note: there
   is also an option to only email the link to the user.)
 * [[
 * Example Contact Form 7 form code, including tag required to display multiple 
   download selection checkboxes.

## Instalacija

 1. Download from [https://wordpress.org/extend/plugins/email-before-download/](http://bit.ly/dF9AxV)
 2. Upload the entire email-before-download folder to the /wp-content/plugins/ directory.
 3. Activate the plugin through the “Plugins” menu in WordPress.
 4. Locate the “Email Before Download” menu item in your WordPress Admin panel under“
    Settings” to configure.

## ČPP

### Can I see a list of download requests people have made?

Yes. We store a log of the form submissions and generated links. You can view and
export a CSV file of them from the Email Before Download settings page in your admin
screens.

### What if I don't use the Contact Form 7 and/or Download Monitor Plugins?

You will not be able to use this version of Email Before Download without these 
dependent plugins. If you have specific reasons to avoid using the dependent plugins,
please contact us and let us know the reason so we can take it into consideration.

### Anything special I need to do with my contact form?

If you decide to configure the Email Before Download option to send the user an 
email with a link to the download, then you will want to name the email field “your-
email” as shown in the example screenshots. Outside of that, nothing special.

### What happens after the user completes the form?

By default, the user is presented with a link or links to download their file(s).
There is also an option to email the user (with a link to the file and/or attachment)
if you choose that route. You can even provide both the inline link as well as the
email if you choose.

### Are you changing any of my file or directory permissions?

WordPress allows direct access to files in your upload directories using a direct
URL and we do not change those permissions. We do provide an option to mask the 
URL to your downloads if you have cURL enabled.

### What are the available shortcode options?

This is the list of all short code attributes that can be used. Some of them override
the global admin settings.

 * download_id – either one single download id from WordPress Download Monitor, 
   or a comma separated list of such ids, eg. ‘1,2,3’
 * contact_form_id – Contact Form 7 ID. Overrides default contact for id from settings
   if used.
 * title – this attribute overrides the title from Download Monitor. if multiple,
   put them in a comma separated list in the same order as your download_ids.
 * file – use to point to external url
 * delivered_as – possible values: “Send Email”, “Both”, “Inline Link”
 * attachment – “yes”, “no” Attachments only work if files were uploaded with Download
   Monitor.
 * force_download – any value that is passed considered as “yes” (we don't have 
   a global menu item for that) only works with a single download_id.
 * checked – Loads form with item checked. If you are using checkboxes and have 
   multiple items, the will all be checked, Accepts “no”, any other value is “yes”
 * hide_form – “yes”, “no”
 * radio – “yes”, “no”
 * from_email – valid email address
 * from_name – any alphanumeric string

## Recenzije

![](https://secure.gravatar.com/avatar/d4097071e9d44561a1c9fd7e8567aa9011d03b42e56bf69d740e6bb019c699d6?
s=60&d=retro&r=g)

### 󠀁[fatal error message](https://wordpress.org/support/topic/fatal-error-message-202/)󠁿

 [wiseupmarketing](https://profiles.wordpress.org/wiseupmarketing/) 23. Jula 2024.

Unfortunately like some of the other recent reviews, we too are now getting ‘plugin
could not be activated because it triggered a fatal error’ message. Its a shame 
as it worked well when it was working on previous version of WordPress.

![](https://secure.gravatar.com/avatar/8a34d45fb27d6a417743b1e0be951fe827d8b18f7b8c98a0fb5a183cbacffaaf?
s=60&d=retro&r=g)

### 󠀁[Could not install](https://wordpress.org/support/topic/could-not-install-5/)󠁿

 [royaldeer](https://profiles.wordpress.org/royaldeer/) 6. Jula 2022.

Getting Plugin could not be activated because it triggered a fatal error

![](https://secure.gravatar.com/avatar/d598fb19e50e37b7ed53ce7d673784edbd48a20dc8d8d4163aef1ed2a153628d?
s=60&d=retro&r=g)

### 󠀁[Works just fine, and support excellent](https://wordpress.org/support/topic/works-just-fine-and-support-excellent/)󠁿

 [rjfnz](https://profiles.wordpress.org/rjfnz/) 27. Maja 2022.

I had a few problems setting up, but Support quickly answered my requests for help
and got me up and running. Recommended for what it promises and what it does. Takes
a little effort to get familiar with the plugin but worth doing so.

![](https://secure.gravatar.com/avatar/0052d8365323ba7110038ef7f3422b316bb96b931b2234be2f5640f80ec39823?
s=60&d=retro&r=g)

### 󠀁[Terrible Plugin](https://wordpress.org/support/topic/terrible-plugin-59/)󠁿

 [silkweb](https://profiles.wordpress.org/silkweb/) 29. Aprila 2022.

I think it could be good or maybe I am completely missing something but I cannot
see how to create the links for the downloads. I fill out the info on the Email 
Before Download, but nothing happens. There is zero direction.

![](https://secure.gravatar.com/avatar/a0296290a0b707ad84f6e2d7f4f315cb82fa200ea4520796e8c160e314c3da0e?
s=60&d=retro&r=g)

### 󠀁[PHP Errors](https://wordpress.org/support/topic/php-errors-236/)󠁿

 [jenhanni](https://profiles.wordpress.org/jenhanni/) 19. Maja 2021. 1 reply

I'm getting some serious PHP errors with the new update 6.3 I'll add them to support

![](https://secure.gravatar.com/avatar/a6249327dccb365968166d7c0150aac6a524d30960a91ec13610ca5ecd274854?
s=60&d=retro&r=g)

### 󠀁[Exactly what I needed. 🙂](https://wordpress.org/support/topic/exactly-what-i-needed-761/)󠁿

 [tomoci](https://profiles.wordpress.org/tomoci/) 1. Februara 2021. 1 reply

Easy to use, does what it supposed to do and the support was also great, as they
handled the problem fast. 🙂

 [ Read all 44 reviews ](https://wordpress.org/support/plugin/email-before-download/reviews/)

## Saradnici i programeri

“Email Before Download” is open source software. The following people have contributed
to this plugin.

Doprinositelji

 *   [ ashokaggarwal ](https://profiles.wordpress.org/ashokaggarwal/)
 *   [ mandsconsulting ](https://profiles.wordpress.org/mandsconsulting/)

“Email Before Download” je prijeveden na 2 dijalekta. Zahvala [prevodiocima](https://translate.wordpress.org/projects/wp-plugins/email-before-download/contributors)
za njihov doprinos.

[Prevedi “Email Before Download” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/email-before-download)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/email-before-download/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/email-before-download/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/email-before-download/)
od [RSS](https://plugins.trac.wordpress.org/log/email-before-download/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

=6.9.8=
 * Resolved security incident reported from WordPress. Updated nonce validation
to meet security needs.

=6.9.7=
 * Fixed issues with new PHP version and download monitor

=6.9.6=
 *Changed the link appearance for the multiple downloads

=6.9.5=
 * Fixed issue causing From Name to be translated to lowercase.

=6.9.4=
 * Added checking if the current environment is admin * Security fix

=6.9.3=
 * Updated delivery format instructions on admin screen to show how to properly
override the delivery format in shortcode * Added hook to make sure that the dependencies
are loaded * Fix to expirated links, changed function to home_url

=6.9.2=
 * Fix to expirated links, changed function to grab home_url instead of 
The WordPress Address URL.

=6.9.1=
 * Fixed crashing issue on link expiration related to filter conflict

=6.9=
 * Fixed site crashing issue

=6.8=
 * Updated GET request security. * Reviewed WP changes and more data sanitized,
escaped, and validated

=6.7=
 * Updated GET request security. * Updated Link Expiration Time bug to properly
expire after selected time.

=6.6=
 * Updated readme to link to customer feedback page * Updated delivery format
instructions on admin screen to show how to properly override the delivery format
in shortcode.

=6.5=
 * Updated readme screenshots

=6.4=
 * Fix issue related to file_get_contents() function

=6.3=
 * Update for support of CF7 latest release * Enhancements to help with support
for non-English websites

=6.7=
 * Updated GET request security. * Updated Link Expiration Time bug to properly
expire after selected time.

=6.6=
 * Updated readme to link to customer feedback page * Updated delivery format
instructions on admin screen to show how to properly override the delivery format
in shortcode.

=6.5=
 * Updated readme screenshots

=6.4=
 * Fix issue related to file_get_contents() function

=6.3=
 * Update for support of CF7 latest release * Enhancements to help with support
for non-English websites

=6.2=
 * Moved EBD to own menu in preparation for more robust administration capabilities
in upcoming releases

=6.1=
 * Updated PHP session to resolve health check warning

=6.0=
 * Display Download Monitor file thumbnails (optionally) by default for all
files or on a case-by-case basis via shortcode override

=5.4=
 * Multiple file download checkboxes were displaying a script, which is now
hidden

=5.3=
 * Download filenames were lowercased, but with with this release, they are
no longer lowercased

=5.2=
 * Fixed issue that will help support compatibility with latest versions of
WP/PHP

=5.1.9=
 * Changed the way DOMDocument removes wrappers to be compatible with older
versions of PHP =5.1.8= * Fixed issue with some browsers not showing UTC-8 characters
properly * cleaned up some code to remove PHP warnings =5.1.7= * Fixed issue with
some malformed HTML being created by DOMDocument() =5.1.6= * fixed issue where some
people weren't getting ajaxed links =5.1.5= * fixed issue with false positives on
invalid uids =5.1.4= * minor bugfixes =5.1.3= * fixed issue with link displaying
when email only selected. =5.1.2= * Simplified use of PHPDomDocument to better function
with older versions of PHP * Let Javascript do more of the work for hiding/showing
forms * Removed custom API endpoint that was giving issue for some users * Using
Download Monitor hook to serve files

=5.1.1=
 * Fixed issue where some instances wouldn't activate after update * Fixed
issue where some servers wouldn't set session variables * Added css class to download
selectors for easier formatting * Fixed issue where some settings would be reset
to default on update * Fixed issue with older versions of PHP not liking HTML5 tags

=5.1.0=
 * Added compatibility with version 5.0 of Contact Form 7 * Fixed issue 
where blacklist wasn't parsing correctly for some people * Fixed issue with response
box showing for some people

=5.0.9=
 * Fixed issue with character encoding when building form

=5.0.8=
 * Fixed issue with older versions of PHP giving parse errors. * Added banner
and icons for plugin.

=5.0.7=
 * Fixed issue with [your-message] not being parsed properly * Fixed downloaded
files not showing in admin email * Fixed issue where some people couldn't activate
the plugin * Fixed issue where form reloaded the page on submit for some people

=5.0.6=
 * Fixed issue where pages with multiple forms weren't displaying inline
links properly * Fixed issee with link_format not working

=5.0.5=
 * Fixed issue with some servers not attaching files to emails * Fixed issue
with malformed email headers if from_name was left blank * Fixed issue with some
multiple download forms * Fixed issue with smart quotes being used in shortcode 
by third party content editors * Removed some default styling that was conflicting
with some custom styles * Fixed issue with non standard upload folder names

=5.0.4=
 * Fixed emails not being sent for some people * Fixed display issues with
colons in download titles * Modified settings so EBD stays compatible with Custom
Sender plugin. * Added shortcode attributes for from_email and from_name.

=5.0.3=
 * Fixed issue with form not displaying for some people

=5.0.2=
 * Fixed issue with admin tables not showing.

=5.0.1=
 * Bug fixes

=5.0=
 * Complete tear down and rewrite of entire EBD plugin. * Better integration
with WordPress. * Added admin view, export, and purge of download links and posted
data. * Added better integration with Contact Form 7 and Download Monitor. * Removed
masked option from settings as this is pretty much done by default now. * Added 
option for default contact form id. * Added some CSS to the generated inline links
to make them look a little better by default. Can be overwritten easily if needed.*
generates shorter URLs. * More settings available in shortcode. * Can override multiple
titles now, as long as they are in the same order as the download ids.

=4.1=
 * Made a few more modifications at the request of email from “plugins@wordpress.
org”.

=4.0=
 * Made modifications to address items requested by “plugins@wordpress.org”
such as ensuring further sanitization of email addresses and database inserts. Also,
removed ability to access files directly from within the plugin folder. Finally,
while making these changes, changed the URL for downloads to use “ebd_dl” instead
of “dl” just in case another plugin were to begin using the “dl” parameter in order
to prevent possible conflicts. Due to these changes, download links from prior to
EBD v4.0 will no longer work with EBD v4.0+. =3.6= * Made modifications to shorten
the download URL and potentially improve email deliverability by removing “download.
php” from the download link

=3.5=
 * Made minor changes to support PHP 7.

=3.4.2=
 * Fixed issue regarding the download button on some themes where download
button would display in wrong format.

=3.4.1=
 * Fixed issue related to SQL functions used in code.

=3.4=
 * Updated deprecated WPDB escape functionality to new one.

=3.3=
 * Updated to be compatible with Contact Form Version 3.9

#### 3.2.9

 * Fixed issues related to a recent release of Contact Form 7 version 3.9

#### 3.2.8

 * Fixed the issue with multiple download ids checkboxes when user selects hidden
   contact form option.
    The checkbox can now be to the left or right, depending
   on the custom tag ( or )”

#### 3.2.7

 * Fixed the issue with loading contact form as XML to DOM parser, when html entities
   were breaking the validity of XML.

#### 3.2.6

 * Added new option that allows user to hide contact form until user selects at 
   least one downloads (for multiple download ids )
 * Added option that turns checkboxes to radio buttons (for multiple download ids)

#### 3.2.5

 * Fixed bug with single quotes that led to javascript error.

#### 3.2.4

 * Added support to new version of the Download monitor
 * Modified download logic: If the masked option is turned on and Internet Explorer
   is detected, download will be forced.

#### 3.2.3

 * Two new fields added to the plugin: user_name and email
 * CSV export now includes new fields
 * Added checks for the existence of the new fields, adds them if needed
 * In admin settings, added new option that changes Multiple Checkboxes’ default
   state
 * Added new short code attribute that overrides admin settings for Multiple Checkboxes’
   default state

#### 3.2.2

 * Removed extra spacing in multiple download output

#### 3.2.1

 * Create table SQL script updated (now the title column has utf8 character set 
   and utf8_unicode_ci collation)
 * Added a patch that checks this specific column and alters it if needed

#### 3.2

 * Fixed bug related to logging multiple downloads correctly
 * Added field to CSV export
 * Added PayPal button in Admin Panel
 * Added character encoding in case it helps to support languages other than English

#### 3.1.7

 * Default multiple file downloads to pre-selected (checked) by default

#### 3.1.6

 * Minor fix for various multi-file issues and logging

#### 3.1.5

 * fixed event handling
 * stubbed email_from, though it is not active

#### 3.1

 * New modification to help support for Contact Form 7 v3.0+

#### 3.0

 * Modification to help support for Contact Form 7 v3.0+
 * Added ability to force a file download using attribute in shortcode [email-download
   download_id=”X” contact_form_id=”Y” force-download=”true”]; Download Monitor 
   Force Download Option is recommended for files stored in Download Monitor
 * Added option in admin panel to clear Email Before Download log entries
 * Minor fomatting updates to admin panel
 * Updates to allow Download Monitor to track clicks/downloads of files accessed
   using various scenarios of the Email Before Download plugin; Download Monitor
   still does not track clicks when using the masked URL option of Email Before 
   Download, but the Email Before Download log does track these

#### 2.6

 * Bigger export link
 * Support for special characters in filenames like “&”
 * Fix for empty page interaction
 * Change of function name to avoid conflict with other plugins
 * Support for left checkboxes on multiple file download form using “<ebd_left /
   >”

#### 2.5.1

 * Minor cleanup of admin panel

#### 2.5

 * Added ability to prevent specific domain names
 * Fixed download filename issue for .zip files

#### 2.0

 * Support multiple download selection (within shortcut code, use comma-separated
   list of download IDs: download_id=”1,2,3” — within the contact form 7 form used
   for multiple download selection, ensure you place the tag “<ebd />” where you
   want to checkbox list to be generated) as shown in [screenshot 7](https://wordpress.org/extend/plugins/email-before-download/screenshots/)
 * Add more information in the download history EXPORT .csv file
 * Added support for Download Monitor format code for the inline link that is displayed(
   within shortcut code, specify the format code: format=”1”)
 * Allow overriding the default settings with the shortcode (i.e. within shortcode,
   use delivered_as=”Inline Link” even though the general setting in admin panel
   is setup for “Both” — options are “Inline Link”, “Send Email”, “Both”)
 * Updates to avoid potential conflicts with other plugins
 * Added ability to customize subject line when emailing file download

#### 1.0

 * Added ability to export log in CSV format from admin settings page.
 * Added ability to mask download file's URL if cURL is enabled.
 * Added ability to expire the download link after a given timeframe.
 * In addition to emailing a link to the file, added ability to email the file as
   an attachment.
 * Added ability to download files outside of Download Monitor (within shortcode,
   use file=”http://mydomain.com/file.pdf” — no need to include download_id=”X” 
   in this case).

#### 0.5

 * First release.

## Meta

 *  Version **6.9.8**
 *  Last updated **prije 2 godine**
 *  Active installations **6.000+**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/email-before-download/), [German](https://de.wordpress.org/plugins/email-before-download/)
   i [Spanish (Spain)](https://es.wordpress.org/plugins/email-before-download/).
 *  [Prevedite na vaš jezik](https://translate.wordpress.org/projects/wp-plugins/email-before-download)
 * Tags
 * [download](https://bs.wordpress.org/plugins/tags/download/)[email](https://bs.wordpress.org/plugins/tags/email/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/email-before-download/advanced/)

## Ocjene

 4.3 out of 5 stars.

 *  [  31 5-star reviews     ](https://wordpress.org/support/plugin/email-before-download/reviews/?filter=5)
 *  [  3 4-star reviews     ](https://wordpress.org/support/plugin/email-before-download/reviews/?filter=4)
 *  [  5 3-star reviews     ](https://wordpress.org/support/plugin/email-before-download/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/email-before-download/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/email-before-download/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/email-before-download/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/email-before-download/reviews/)

## Doprinositelji

 *   [ ashokaggarwal ](https://profiles.wordpress.org/ashokaggarwal/)
 *   [ mandsconsulting ](https://profiles.wordpress.org/mandsconsulting/)

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/email-before-download/)

## Pokloni

Da li bi ste željeli da podržite napredovanje ovog proširenja?

 [ Pokloni ovom proširenju ](http://www.mandsconsulting.com/)