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.
-
AuthorPosts
-
June 10, 2020 at 9:45 pm #20416
er-dev
ParticipantThank 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 #20421mbrsolution
ModeratorHi, 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 #20424er-dev
ParticipantHi,
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 #20427mbrsolution
ModeratorHi, 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 #20429er-dev
ParticipantHi 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 #20430er-dev
ParticipantSorry, I should have marked it as resolved. Thanks.
June 12, 2020 at 3:04 am #20435mbrsolution
ModeratorHi, 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 #20784garymclaughlin
ParticipantI 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.comAs 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.toConsider 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/TroubleshootingAnything 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 #20797mbrsolution
Moderator@garymclaughlin, please start a new support thread. This one is already marked as resolved.
Thank you
September 2, 2020 at 8:58 am #20820admin
KeymasterI 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
-
AuthorPosts
- You must be logged in to reply to this topic.