=== Download Sender ===
Contributors: Mustapha FERSAOUI
Tags: download,downloads,downloader,e-mail,email,send,encrypt,protect,secure,temporary link
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9WDR7DXSH8K7E&source=url
Requires at least: 5.0
Tested up to: 5.3
Requires PHP: 5
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Download Sender allows you to add a download button, which when clicked displays a file sending form requiring users to enter their email address to receive a download link.

== Description ==
**Download Sender** allows you to add a download button, which when clicked displays a file sending form requiring users to enter their email address to receive a download link. It is flexible and highly customizable with tons of customizing options to make sure to match your preference.

Here is a [live demo](https://www.mustaphafersaoui.fr/wp-plugins/download-sender/live-demo//)

**FEATURES:**

* Upload file via WordPress Media Uploader.
* **Private, Encrypted file Sending:** Send files through a safe, private, and encrypted link that automatically expires to ensure your stuff does not remain online forever.
* Prevent users from spamming your file sending forms.
* Prevent inaccurate email addresses from pranksters, spam-bots, or people who are just in a hurry. This feature allows to logs only the verified email address.* Set expiration times for your download links.
* Disable file sending form for logged in users.
* Ability to enable/disable downloading logs.
* Abbilty to resending download link from in the admin logs page with a simple click.
* Export logs to CSV file.
* Configure URL of "Expired Link" page.
* **Customizable email template with different parameters:** subject line, email body, from name, or from email address.
* **Customize the default form validation messages:** description, email placeholder, wrong email, empty email, success, failed, already sent and already sent "Help Text".
* Delete expired links.
* **Accent Colors:** 4 globally defined color schemes and 3 color gradients.
* Unlimited colors for icons, texts and buttons.
* 2 Button Hover Animation Effects.
* Display alert boxes as a tool-tip.
* FontAwesome integration.
* Translation ready.

**PREMIUM:**

* Integrates well with **WPBakery Page Builder**.
* Add Google Captcha (reCAPTCHA) to the file sending form.
* Feature to verifies the email address at sending file time to minimize the sending of emails to non-working email addresses and receiving too many bounced and returned emails.
* Ability to verify emails manually from the logs page.
* Manually enter a valid URL with ability to use URLs of files hosted on external web sites.
* Set custom expiration times for your download links (Manually enter the number of hours or days).
* Set maximum number of times a user can download files.
* Download counter for each file.
* Offsetting the download count for each file.
* Showing the download counter.
* Send encrypted download link through admin panel.
* Delete sent links older than a certain date.
* 9 more button hover animation effects.
* Choose custom icons from FontAwesome for your notifications.
* Ability to display multiple download buttons in the same page.
* Create a direct single click download button.

== Installation ==
* Upload plugin files to your plugins folder, or install using WordPress built-in Add New Plugin installer;
* Activate the plugin;
* Navigate to Plugin Settings and fill settings.

= How To Use =
[youtube https://www.youtube.com/watch?v=JWxtLviZgqs]

From your post's or page's main editor, select the Download Sender Shortcode icon from the tool bar.

[Screenshot](https://www.mustaphafersaoui.fr/wp-plugins/download-sender/images/download-sender-shortcode.jpg)

Once the popup window is open, change the necessary settings then click Insert button. This closes the popup and adds your newly-created shortcode into the content of your page or post where you'd like to add your shortcode.

[Youtube Video](https://www.youtube.com/watch?v=JWxtLviZgqs)

== Frequently Asked Questions ==

= How To Use =

[youtube https://www.youtube.com/watch?v=JWxtLviZgqs]

From your post's or page's main editor, select the Download Sender Shortcode icon from the tool bar.

[Screenshot](https://www.mustaphafersaoui.fr/wp-plugins/download-sender/images/download-sender-shortcode.jpg)

Once the popup window is open, change the necessary settings then click Insert button. This closes the popup and adds your newly-created shortcode into the content of your page or post where you'd like to add your shortcode.

[Youtube Video](https://www.youtube.com/watch?v=JWxtLviZgqs)

= How to Fix a 404 Page Not Found Error =

Try to deactivating and reactivating the Download Sender plugin.
* Go to the Plugins tab inside of WordPress and locate Download Sender.
* Click Deactivate to temporarily deactivate your plugin.
* After your plugin deactivates, click Activate.

== Screenshots ==
1. Shortcode Generator
2. Settings Menu
3. Logs Menu
3. Admin functions Menu

== Changelog ==

= 1.3.2 =
* Fixed issue with wp_mail() function.
* Added two shortcodes to the email template:
  {blog_name} : Display Site Title
  {blog_domain} : Display Site URL

= 1.3.1 =
* Fixing compatibility issues with WordPress 5.3
* Fixing remove logs alert

= 1.3.0 =
* New premium feature to verifies the email address at sending file time to minimize the sending of emails to non-working email addresses and receiving too many bounced and returned emails.
* Ability to verify emails manually from the admin logs page.
* Added feature to re-sending download link from in the logs page with a simple click.
* Added Notifications option : Max wrong send attempts reached - To prevent the maximum number of wrong sending attempts exceeded.
* Added logs search box.
* Added export logs filter.
* Fixed flag display on the logs page.

= 1.2.8 =
* Fix: reCAPTCHA is now working on pages with multiple captchas

= 1.2.7 =
* Fix issue with file submit button.

= 1.2.6 =
* Prevent inaccurate email addresses from pranksters, spambots, or people who are just in a hurry. This feature allows to logs only the verified email address.
* Fixed the option that prevent users from spamming your file sending forms.
* Added: [premium] Option to custom the anti-spamming timer value.
* Added: [premium] Google Captcha (reCAPTCHA) to the file sending form.

= 1.2.5 =
* New: Compatibility with [Max Grid Builder](https://wordpress.org/plugins/max-grid/).

= 1.2.4 =
* New plugin URI.
* Fixed several bugs

= 1.2.3 =
* Fixed email field placeholder issue.

= 1.2.2 =
* Changed text domain for the file expiration notifications.
* Fixed link sending issue.

= 1.2.1 =
* Fixed issue with file link style in downloads page.
* Fixed JavaScript issue with the Send button.

= 1.2 =
* Added new file download method.
* Added Downloads Page .
* Fixed file sending issue.
* Removed "Expired Link Redirection Page" option.
* Added option to use your own custom Downloads Page.

= 1.1.3 =
* Fixed several bugs.

= 1.1.2 =
* Fix: Shortcode generator dialog tabs display issue.
* Fix: Shortcode insert issue.

= 1.1.1 =
* Fix: Display issue on the shortcode generator dialog tabs.

= 1.1 =
* New: Compatibility with Gutenberg editor introduced

= 1.0 =
* First release.