Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Activate and Notify: works for a single member but fails for multiple members

Simple Membership Plugin › Forums › Simple Membership Plugin › Activate and Notify: works for a single member but fails for multiple members

Tagged: bulk action, mail, notification, notify

  • This topic has 9 replies, 4 voices, and was last updated 5 years, 3 months ago by admin.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • June 10, 2020 at 9:45 pm #20416
    er-dev
    Participant

    Thank you for the awesome plugin.

    I setup my installation so new members must be activated manually by someone managing the site.

    The problem I’m having is when I try to activate multiple new members at once. This is the process I’m following

    1 – I go to the Members list
    2 – I select one or more members in the “Pending” state.
    3 – From the “Bulk Actions” drop-down, I select “Set Status to Active and Notify”.
    4 – I press “Apply”.
    5 – I get a security question: “Are you sure you want to perform this bulk operation on the selected entries?” and I click “OK”

    The records are changed but the email is not sent.

    In my installation I’m using the “WP Mail SMTP” plugin with a MailGun account.

    Just after I try the above, I go to “WP Mail SMTP” and the following message is shown to me:

    EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v2.1.1 logged this error during the last time it tried to send an email:
    Mailer: Mailgun
    ‘to’ parameter is missing
    Consider running an email test after fixing it.

    I most note that when I choose to activate and notify a single member it works. I do that by going to “Edit/View” (for that user), changing “Account Status” to “Active” and checking the “Notify User” box, and pressing “Save Data”.

    What am I missing? Is it a different setting that I forgot?

    Thanks.

    June 11, 2020 at 10:39 am #20421
    mbrsolution
    Moderator

    Hi, have you also configured the Email Settings (Bulk Account Activate Notification) feature under WP Membership -> Settings -> Email Settings?

    Regards

    June 11, 2020 at 3:15 pm #20424
    er-dev
    Participant

    Hi,

    Thanks for your reply. Yes, I’ve configured the email settings.

    I’ve noticed that “You cannot use email merge tags in this email. You can only use generic text.” which had escaped me before, so I’ve changed my email body as to not have any email merge tags.

    Still, when using the mass-update option (even with a single member), the email is not sent and the messages I get are the same. And if I use the single member update (from within the Edit/View page) the email is sent successfully.

    June 11, 2020 at 9:51 pm #20427
    mbrsolution
    Moderator

    Hi, try the following troubleshooting steps.

    https://simple-membership-plugin.com/forums/topic/email-sending-issue-on-your-site/

    Let me know how you go.

    Thank you

    June 11, 2020 at 10:54 pm #20429
    er-dev
    Participant

    Hi mbrsolution,

    Thanks for the tip. It now works. The only thing I did was replace the SMTP plugin. The conclusion is that there’s probably a conflict between this plugin and the SMTP plugin I was using before.

    Having said that, I’m not sure if you are associated with the maintenance of this plugin. If so, here is what I believe is happening:

    I traditionally use the “WP Mail SMTP” as my SMTP plugin (over 1 million installations).

    For it to work, I had to use the plugin recommended in the post you gave me, i.e., “Easy WP SMTP”.

    The original SMTP plugin was complaining about the “TO” field missing.

    When I was able to make it work, one of the recipients was a GMail account and, there too, the “to” field was blank. The email arrived but there’s clearly something missing that relates to the “to” field. It might be cosmetic in nature, but it will give grief to anyone using the “WP Mail SMTP” plugin.

    Not sure if it is something to pass along to the plugin developers.

    In any case, I appreciate your help.

    June 11, 2020 at 10:55 pm #20430
    er-dev
    Participant

    Sorry, I should have marked it as resolved. Thanks.

    June 12, 2020 at 3:04 am #20435
    mbrsolution
    Moderator

    Hi, I am glad to know that your issue is resolved.

    Regarding the conflict you discovered with the other SMTP plugin, unfortunately I have nothing to do with that plugin. We recommend “Easy WP SMTP” plugin because we also develop this plugin and we know for a fact that it works with SMP.

    Thank you for sharing this information though 😉

    Enjoy the plugin.

    Kind regards

    August 27, 2020 at 4:01 pm #20784
    garymclaughlin
    Participant

    I am having the same issue as er-dev, except I am using the plugin WP Mail SMTP.
    We have set up the plugin using Sendgrid.
    When I try to do bulk activate and notify, an error happens. On the error log, it looks like the email addresses are not separated properly. Instead of using a “;” to separate the addresses, it instead is using a comma and no spaces. Thus the email addresses in the To field look like: gary@gmail.com,tom@hotmail.com,John@yahoo.com

    As a result WP Mail SMTP gives me this error:

    EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v2.3.1 logged this error during the last time it tried to send an email:

    Mailer: SendGrid
    The to array is required for all personalization objects, and must have at least one email object with a valid email address. – personalizations.0.to; http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.personalizations.to

    Consider running an email test after fixing it.

    I followed the advice on this page and seems I had everything set up like er-dev did. I then tried to follow your suggestion and intall Easy WP SMTP. We set it up, using the settings Sendgrid gave us (and the settings that work with WP Mail SMTP), but when we try to connect Easy WP SMTP, it gives us this message:

    Following error occurred when attempting to send test email:
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    SMTP ERROR: Failed to connect to server: Connection refused (111)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Anything anyone can do to help — either by fixing the To field that is coming from Simple Membership in the Bulk activation/notification emails or help connecting to Sendgrid using Easy WP SMTP.

    August 28, 2020 at 6:48 am #20797
    mbrsolution
    Moderator

    @garymclaughlin, please start a new support thread. This one is already marked as resolved.

    Thank you

    September 2, 2020 at 8:58 am #20820
    admin
    Keymaster

    I have re-worked that particular feature so the emails are sent separately to each selected member (instead of sending a batch email with “bcc”). That should solve this problem whereby it has an issue when used with an SMTP solution

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2025 | Simple Membership Plugin | Privacy Policy