Support » Plugin: Double Opt-In for Download » Email not sending

  • Resolved 303i

    (@303i)


    Hello
    I have an issue with the plugin-The email is never sent after inputting details (I’m using the widget & 1.1.0). I get the “Thank you for registering”, but no email is sent. If I manually resend the email, it arrives instantly.
    I’ve tried both with WP Easy SMTP and without, same result. All other emails sent from the website work fine, it’s just the initial email that isn’t sending.
    Any help?

    http://wordpress.org/plugins/double-opt-in-for-download/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Running a debug, I get these two errors:

    Notice: Object of class WP_Error could not be converted to int in /home/e*****/public_html/b*********.com/wp-includes/functions.php on line 2837

    Notice: Undefined property: DoifdFormWidget::$options in /home/e*****/public_html/b*********.com/wp-content/plugins/double-opt-in-for-download/includes/class-email.php on line 122

    Plugin Author Andy

    (@andyba45)

    Try this….

    Go to plugins editor.
    Select Double OPT-IN For Downloads.
    Look for this file…”class-registration-form.php”

    Go towards the bottom and look for this line:

    $send_ver_email->send_verification_email($value = array(
    (it’s line 236 if your in an editor)

    Add “$send =” to the beginning and save.

    So it will now look like this:

    $send = $send_ver_email->send_verification_email($value = array(

    See if that fixes it.

    Nope, didn’t work, pic of edit:
    http://puu.sh/6H4j9.png
    Could this be related to the undefined property error?

    Plugin Author Andy

    (@andyba45)

    Oh Crud! The widget… I forgot to update the widget…

    go to the doifd-widget.php

    3/4 of the way down or starting on line 213

    Change this:

    DoifdEmail::send_verification_email ( $value = array(
    “user_name” => $doifd_lab_subscriber_name,
    “user_email” => $doifd_lab_subscriber_email,
    “user_ver” => $doifd_lab_ver,
    “download_id” => $download_id ) );

    To this:

    $send_ver_email = new DoifdEmail();
    $send = $send_ver_email->send_verification_email($value = array(
    “user_name” => $doifd_lab_subscriber_name,
    “user_email” => $doifd_lab_subscriber_email,
    “user_ver” => $doifd_lab_ver,
    “download_id” => $download_id));
    }

    That worked! Thanks!

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