Support » Plugin: ALO EasyMail Newsletter » wp_create_user() adds user to wp_easymail_unsubscribed()

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi Batman42ca,

    I have the same issue, i am using Woocommerce with Woocommerce Poor Guys Swiss Nife plugin, and i have a checkbox in my checkout form to let the customer choose to subscribe or not subscribe to the Alo EasyMail Newsletter.

    When i look in a newly received order, and i see that the customers wants to subscribe to the newsletter, i go to the ALO EasyMail newsletter, and i want to try to add this email adres to the list of subscribers, i get an error message that user allready unsubscribed to the list. This happens all the times. I just tried to delete the user from the wp_easymail_unsubscribed table in PhPmyAdmin, and after that it is possible to subscribe the user to the mailing list.

    I don’t think this is the way how this should work. Do you allready have found a solution for this issue?

    With kind regards,

    Computer Shop Online

    It was a while ago but looking at my code, I see I do the following after creating the user:

    global $wpdb; // this is a global WordPress variable
    $email = ""; // whatever the user's email address is
    $wpdb->query($wpdb->prepare("DELETE FROM {$wpdb->prefix}easymail_unsubscribed WHERE email=%s",$email));

    Hi Batman42ca,

    Okay, and what to do to solve this issue?


    I already showed you. Use the code that I posted to remove the user’s email address from the easymail unsubscribed list. I never found a way to prevent the email address being added so I just make sure I remove it after it’s added.


    And where it which .php file or something must this being used?

    Plugin Author eventualo


    Thanks for the report, I’ll investigate about it.

    Plugin Author eventualo


    It should be fixed in 2.5.05. Please share your feedback.

    @batman42ca – Is removing from the unsubscribe table enough? Or will we have to move these records to the subscribers table?


    According to eventualo, it’s been fixed, but in the past, I experienced no problems after I removed the email addresses from the unsubscribe table. That seemed to be good enough.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘wp_create_user() adds user to wp_easymail_unsubscribed()’ is closed to new replies.