WordPress File Upload plugin is able to send email notifications when files are uploaded.

The recipients, the message subject and body, as well as more advanced options, can be configured using special attributes of the shortcode.

The easiest way of setting-up email notifications is by using the Visual Editor of the plugin. So, after we open it, we go to Notifications tab and we enable Notify by Email option:


Then we set Email Recipients at the right-hand side, as a comma-separated list of known email addresses. If we want to include the email of the user who uploaded the files, we add the dynamic variable %useremail%, either by typing it in the textbox or more easily by double-clicking on the useremail button which appears below the textbox.


The editor has preconfigured Email Subject and Email Body, which we can change according to our needs. There are a lot of dynamic variables that we can add, such as user name, user email, filename, filepath, post id etc. If the uploader includes additional fields that the user must fill-in, we can also add them using theuseredata button.


We can also include the uploaded files in the email as attachments, by enabling Attach Uploaded Files option.

Advanced Options

We can define advanced options using email headers, such as format of the email (plain text or HTML), email address and name shown as the Sender of the email etc. We add these headers in Email Headers box, such as:


If we want to configure the notification email even further, so that its elements (recipients’ list, subject, body etc.) are dynamically generated using PHP, we can do this using wfu_before_email_notification filter. We can implement this filter using the Code Hooks feature of the plugin.


Sometimes, even if we configure the notification email correctly emails are not sent. In most cases this is not a fault of the plugin but it is caused by misconfiguration of outgoing email settings of the website, or by security restrictions of the web server.

A common solution to this problem is to install an SMTP plugin, like WP Mail SMTP or any other. This kind of plugins reconfigure the wp_mail() function of WordPress to use SMTP instead of PHP mail(). There are a lot of free SMTP plugins that can be found through and instructions on how to configure them.

For any questions or more information, please contact us.

The Iptanus Team

Email Notifications with WordPress File Upload Plugin

34 thoughts on “Email Notifications with WordPress File Upload Plugin

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.