• Resolved antoniopjs

    (@antoniopjs)


    For some reason the plugin doesn’t send emails with the download link, we didn’t notice it earlier so i don’t know if it’s due to some update or something… It worked before but now it just sends confirmation email to admin.

    Email before download version: 3.6
    Contact form version: 4.7
    Download monitor version: 1.9.7

    Yes, im using “your-email” and “your-name” in the contact form and yes, the From: email address exists and it’s from the same domain. The plugin is set to “Send email” option without attachment checkbox.

    Some help may be appreciated

Viewing 5 replies - 1 through 5 (of 5 total)
  • Where/how did you set the From: of the email?

    Thread Starter antoniopjs

    (@antoniopjs)

    Itis from the contact form plugin. Using wordpress debug mode it throws an error on the line 432 from the email-before-download.php in the plugin (undefinex index)… this is the line:

    “$dIds = $_POST[‘ebd_downloads]”

    I dumped all $_POST when using the form and that index doesnt exist in the $_POST array and also in the line 445 (where i guess it does a sql query to get download monitor rows) it queries to a table that doesnt exist using a variable “$wp_dlm_db”… the line:

    “$dl_it = $wpdb->get_row( “SELECT * FROM $wp_dlm_db WHERE id = ‘”.esc_sql($id).”‘;” );”

    the $wp_dlm_db is null but that line maybe isnt used here and its not related

    Thanks

    The problem mentioned bu @antoniopjs happens with WP 4.7.+

    First, turn off WP_DEBUG. Or, if you want to leave it on, then you need to make its output go to a file rather to the screen. EBD will not work properly if you have WP_DEBUG on and let its output go to the screen (which is the default, typically). I suggest turning it off until you get things working — then you can turn it on & make output go to a file if you so desire.

    The settings that are accessible in CF7 (like From and To and so on) are for the “Notification Email” (the email that tells you that some visitor has come to the website & filled in the form & downloaded the file). The Notification Email typically tells you what was downloaded, but doesn’t have a link to download the file.

    When you are set to “both” or to “email” in the EBD settings, then EBD will send an email to the email address that the website visitor typed into the form when he visited your website. That email often does not go through to the visitor because the From: is often incorrect. In order to set the From: value on that email, you need to either installed Postman SMTP plugin and set that up (that’s what most folks do) or install the Custom Sender For Email Before Download. In either case, you need to make sure the From value is a valid email address for your domain name.

    Thread Starter antoniopjs

    (@antoniopjs)

    I already fixed it by installing Custom Sender for EBD before you said it, but thanks anyway!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Users not receiving email’ is closed to new replies.