• Google lets you add a plus sign (with ignored subsequent text) to your email address. I cannot activate a subscriber using this syntax.

    For example, suppose my email address is [email protected]. Then I ought to be able to subscribe as [email protected]. When I attempt this, I get no error during the subscription process. The correct email (including +NEWS) is added to the subscriber tables. The activation email is sent to the correct address.

    BUT! The activation link does not work and cannot get the subscriber to be activated. Upon clicking the activation link, I see a blank screen in my browser.

    I will investigate when I get a chance and post a fix if I find one.

    Obligatory: Yes, I still love ALO Easymail.

    http://ww.wp.xz.cn/extend/plugins/alo-easymail/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author eventualo

    (@eventualo)

    Hi, thanks for the report.
    I made a quick test and I think it’s the “+” signal that is not properly encoded/decoded by the plugin.
    I’ve tried the following hack and it works for me. I’d like if you can make more tests so I can add it in next plugin version.
    In Easymail v.2.4.2 open the file alo-easymail.php, find the line 1948:

    $arr_params = array ('ac' => 'activate', 'em1' => $div_email[0], 'em2' => $div_email[1], 'uk' => $get[1] );

    and replace with:

    $arr_params = array ('ac' => 'activate', 'em1' => urlencode($div_email[0]), 'em2' => urlencode($div_email[1]), 'uk' => $get[1] );

    So the email should be properly encoded. Let us know about it…

    I see the latest version has this fix already in it. However, the activation link still doesn’t seem to work. I get a blank page for addresses registered with a ‘+’.

    Plugin Author eventualo

    (@eventualo)

    I’ve just released the new 2.4.7 version. It should fix the issue. Please let us know if it works properly.

    Yup, that worked perfectly. Thank you!

    Thread Starter istarnet

    (@istarnet)

    I updated the version of EasyMail and then tested. Yes, the activation link seems to work. But I have to check my settings because I am seeing:

    Dear unikey,

    as the salutation in the confirmation email. I looked on the Texts tab and see that the value I’m using is

    Dear %NAME%

    so perhaps I have an improper setting. No time now to investigate but I’ll look into this tomorrow.

    Thanks!

    Plugin Author eventualo

    (@eventualo)

    You found a bug in 2.4.7, thanks.
    I’ve just uploaded a corrected file that should fix it, so you can download the 2.4.7 again and voilà.
    Otherwise, you can make the hack manually in your old 2.4.7: open alo-easymail.php, serach the following lines (about 1742):

    list($name, $value) = explode('=', $section);
    $pars[$name] = $value;

    and replace the 2 occurrences of $name with $key, so the final result is:

    list($key, $value) = explode('=', $section);
    $pars[$key] = $value;

    Let us know if it works properly.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: ALO EasyMail Newsletter] Cannot activate email using Google syntax’ is closed to new replies.