Support » Plugin: Email Before Download » Change Sender Name in the email.

  • Hi
    First of all thanks for the plug in. It’s exactly what I was looking for.
    I using the plug in for a download through email. The problem is that i’m not able to change the name of the sender:

    It appears that the sender is “worpress” or “” (inside the email).
    I tried to change all the setting but nothing happens.
    I had a look to the FAQ but they seems not to answer to my problem.
    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrea,

    I am not the author of the plugin, but I also had this problem and have coded in my own fix.

    If you look at the email-before-download.php file for the plugin, you’ll find this piece of code (version 3.2.1) around line 247:

    if (isset($_POST['email_from'])){
     $emailFrom = htmlspecialchars_decode(urldecode($_POST['email_from']));;

    If you add the following code below the previous snippet (replacing the values with your desired settings), it will change the email from parameters on the emails with download links.

    $emailFrom = '"Display Name" <>';

    The final result should be something similar to:

    if (isset($_POST['email_from'])){
          $emailFrom = htmlspecialchars_decode(urldecode($_POST['email_from']));;
        $emailFrom = '"DISPLAY NAME" <>';
        if (strlen($emailFrom) > 0 )
          $emailFrom = 'From: '. $emailFrom . "\r\n";

    Hello All,
    We had this same issue. We received mails send by “email before download” with: WordPress <> as sender.

    We found the solution in the email-before-download.php for Version: 3.2.2.
    At line 807: the last option #12 is posted in the php but is set as remark. so the php would not active it (fonts were green coloured). see below

    <!–<tr valign=”top”>
    <th scope=”row”><p>12. Email From</p></th>

    By removing the <!–, this option became available in the plugins in wp.
    <tr valign=”top”>
    <th scope=”row”><p>12. Email From</p></th>

    Now you can use the option #12 in the Dashboard -> Settings -> Email Before Download Options option number 12.

    This was our solution.
    Hope this helps.

    Plugin Author mandsconsulting


    Hi Andrea, Evanslooten and Marketingsrc,
    Thanks for using our plugin and discussing various issues.
    You might also find useful this our sticky post that deals with the “from email address” issue

    Just found a great plugin: “WP Mail From II”, does righ that. You can change the display name and mailadres, but if you leave the latter blank it won’t overwrite.

    Plugin Author mandsconsulting


    Hi hrattink,

    Thank you for your interest in our plug in. Hopefully your suggestion will be helpful to our users. Thanks again


    Merci Evanslooten votre solution m’a beaucoup aidé.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change Sender Name in the email.’ is closed to new replies.