Title: Multiple Emails Sent
Last modified: February 20, 2023

---

# Multiple Emails Sent

 *  Resolved [paulluxford](https://wordpress.org/support/users/paulluxford/)
 * (@paulluxford)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/)
 * Hi there, just sent an email out to a list (about 76 users) and now have received
   emails / phone calls saying that they are receiving the emails continuously. 
   Some received the email around 30-35 times before I had deactivated the plugin
   which has stopped the email sending out. I have another plugin that shows a send
   log and it correlates to what the users are saying.
   I am using Elastic SMTP API
   as the sending server. The settings are set to use that server to send. There
   is another option to use the default WordPress function to send emails.. I saw
   in a similar support forum that you mentioned that to avoid this issue is to 
   use the default WordPress sending function, so should I be using that setting
   in the Elastic SMTP settings moving forward? Although on another site, I am using
   Elastic SMTP and am using that to send out from (in the settings) and have not
   had the same issue sending multiple emails out.If I activate the plugin again,
   will it start sending out the emails again and how would I check to see if that
   could occur before activating?Thanks for your help.

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

 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16489063)
 * Hi Paul,
 * Sorry about the issue you’re facing. As it isn’t something we can recreate, and
   since it seems to be some kind of conflict with your setup, I can’t say with 
   any certainty whether or not reactivating our plugin would immediately start 
   sending out the emails again. It depends on whether or not they were already 
   queued. If you would like to make sure this doesn’t happen, I would not advise
   reactivating the plugin on your live site at the moment.
 * That being said, one thing you could do is delete the emails you created that
   are currently stuck on sending. If the email doesn’t exist, there should be nothing
   to send. Then, after that, you could run a new test by creating a new list that
   has only some test email addresses on it, and no outside users/customers.
 * Alternatively, do you happen to have a staging environment, or something similar,
   where you can test this?
 * Where are you adding the SMTP information? Directly in our plugin or do you have
   a separate plugin managing the SMTP setup? I ask because we have an option in
   our plugin that lets you enter your SMTP details. So, you’d want to make sure
   that you are not adding it in two separate places. If you are using a separate
   plugin to do it, does it make any difference if you set up the SMTP info in our
   plugin instead of that one? What about vice versa?
 *  [tsic](https://wordpress.org/support/users/tsic/)
 * (@tsic)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16554079)
 * Hi,
 * Same problem here with mostly thirty emails sent to thirty wordpress account 
   in a custom list.
 * made a test list with three accounts, and one email sent to one account, two 
   emails the second and three to the last, always in this order…
 * tested with SMTP configuration of “WP Mail SMTP by WPForms” or with your plugin’s
   SMTP configuration, same weird results .
 *  [tsic](https://wordpress.org/support/users/tsic/)
 * (@tsic)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16555030)
 * EDIT: some users report more than undred receives :/
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16555534)
 * Do all the duplicate sends show in the logs, or does each address get only one
   entry in the log?
 * What happens if you use no SMTP settings at all? Do you get the same behaviour?
 *  [tsic](https://wordpress.org/support/users/tsic/)
 * (@tsic)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16558182)
 * Yes, all the duplicate sends were shown.
 * If I didn’t use SMTP, no mails were sent.
 * Sorry, but I had to uninstall this addon, I will not be able to help debug further.
 *  [Ashish](https://wordpress.org/support/users/momothemes/)
 * (@momothemes)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16590167)
 * Yes, this is happening to us too.
 * Users are getting spammed.
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16599841)
 * Hello Ashish, did you get a chance to try what we’ve already suggested so far?
   If so, what was the result?
 *  [Mario Beach](https://wordpress.org/support/users/mariobeach/)
 * (@mariobeach)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16726886)
 * I’m experiencing the same issue as [@tsic](https://wordpress.org/support/users/tsic/)
   where multiple emails are being sent when using lists, some users got it an insane
   amount of times!
 * I tested with a smaller list of 4 users and just like [@tsic](https://wordpress.org/support/users/tsic/),
   the first email was sent once, the second email twice, third email 3 times and
   4th email 4 times. I’m sending using WP Mail SMTP. I can’t use your SMTP settings
   because I need Outlook 365 api to send. Only solution for now is to send emails
   one by one. Please fix. It use to be working.
 *  [Mario Beach](https://wordpress.org/support/users/mariobeach/)
 * (@mariobeach)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16727752)
 * I installed on a fresh WordPress install, I created a list of 2 users. I sent
   an email to the list using WP Mail SMTP and without it, using only php mail. 
   In both cases 3 emails went out. 1 to the first user, and 2 to the second one.
   There is something wrong. I downgraded all the way down to 1.1.1 and still same
   issue. Maybe it’s an issue with with WordPress 6.2. I can’t believe nobody caught
   that before. It should be easy to recreate the error. Here are screenshots of
   the logs and the list used. 2 users -> 3 emails each time. When you have a list
   of 40, the last one gets it 40 times!!!
 * **Please fix ASAP!!**
 * ![](https://i0.wp.com/cdn.screencast.com/uploads/g0003020UiczcOhKI3S1UpD5ZUpdp/
   LWR_Recording.png?ssl=1)
 * ![](https://i0.wp.com/cdn.screencast.com/uploads/g000302vRfSaLtVsSyxfzTP0i9mcS/
   LWR_Recording.png?ssl=1)
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16729913)
 * If, just as a test, in WP Mail SMTP, you temporarily set it back to the default
   option and not Outlook, does that make any difference.
 * Also, are you able to temporarily enable debugging in WordPress ([https://wordpress.org/documentation/article/debugging-in-wordpress/](https://wordpress.org/documentation/article/debugging-in-wordpress/))?
   Then send the email again and let me know if there is anything in the debug log
   related to this. There must be some specific settings or configuration that is
   causing this for you few users, as we can’t recreate it, and I’m hoping we can
   get some information from the log that will help us track that down.
 *  [Mario Beach](https://wordpress.org/support/users/mariobeach/)
 * (@mariobeach)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16730074)
 * My last tests, I was using strictly WordPress 6.2 and UWPM 1.2.1 and still the
   same. No WP Mail SMTP, using only default php mail from the server.
 * I enabled log like you suggested, here it is:
 *     ```wp-block-code
       [11-May-2023 14:57:03 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /home/b4q1bapiptqj/mariobeach.com/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
       [11-May-2023 14:57:03 UTC] PHP Notice:  Trying to get property 'name' of non-object in /home/b4q1bapiptqj/mariobeach.com/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
       [11-May-2023 14:57:03 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /home/b4q1bapiptqj/mariobeach.com/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
       [11-May-2023 14:57:03 UTC] PHP Notice:  Trying to get property 'name' of non-object in /home/b4q1bapiptqj/mariobeach.com/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
       [11-May-2023 14:57:20 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /home/b4q1bapiptqj/mariobeach.com/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
       [11-May-2023 14:57:20 UTC] PHP Notice:  Trying to get property 'name' of non-object in /home/b4q1bapiptqj/mariobeach.com/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
       [11-May-2023 14:57:20 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /home/b4q1bapiptqj/mariobeach.com/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
       [11-May-2023 14:57:20 UTC] PHP Notice:  Trying to get property 'name' of non-object in /home/b4q1bapiptqj/mariobeach.com/wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php on line 176
       ```
   
 * Here’s the UWPM log , you can see how many was sent for each users:
 * ![](https://i0.wp.com/cdn.screencast.com/uploads/g000302Zu3GO0DE6aMS2n5STneBBr/
   LWR_Recording.png?ssl=1)
    -  This reply was modified 3 years, 1 month ago by [Mario Beach](https://wordpress.org/support/users/mariobeach/).
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [3 years ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16730325)
 * Thanks for that. We were able to identify the issue, which was with the WP Background
   Processing library we make use of to queue the emails, which had a new version
   to correct this issue. We’ve just released a new version (1.2.2) with the update.
 *  [Mario Beach](https://wordpress.org/support/users/mariobeach/)
 * (@mariobeach)
 * [3 years ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16730470)
 * Thank you [@jaysupport](https://wordpress.org/support/users/jaysupport/), Works
   great! Thank you for the fast turnaround, as you know for anyone with larger 
   lists it could have rapidly becoming a real problem!! 👍
 * _Maybe something to consider in the next version: In AdminEmailLists.class.php,
   to make it easier with our users, I changed line 162 in order to visually confirm
   which email I’m actually adding to the list. This way by hovering the Name on
   the left we can see the email address in a tooltip. I find it is very helpful
   when users display names are not representative and this way it’s not disturbing
   the layout at all. I did not bother changing the js but having it on the right
   would be nice too!_ 🙂
 *     ```wp-block-code
       <span class='ewd-uwpm-user-display-name' title="<?php echo esc_html( $user->user_email ); ?>"><?php echo esc_html( $user->display_name ); ?></span>
       ```
   
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [3 years ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16730658)
 * Thanks for the suggestion and for sharing your solution for it.
 *  [Mario Beach](https://wordpress.org/support/users/mariobeach/)
 * (@mariobeach)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16815282)
 * Hi, I found another bug. When adding users to a list, if one of the users display
   name contains an apostrophe it will create an issue when returning to the list
   to edit. The selected user will prevent the Current Users list to show at all.
   A Json list of the selected users is created in JS and stops on the first apostrophe
   found therefore creating an error.
 *     ```wp-block-code
       Uncaught SyntaxError: Unterminated string in JSON at position 4502
           at JSON.parse (<anonymous>)
           at HTMLDivElement.<anonymous> (ewd-uwpm-admin.js?ver=1.2.2:774:24)
       ```
   
 * In this example, looking at the error, the json stopped at the apostrophe in 
   the name _Jack Daniel’s_
 *     ```wp-block-code
       [{"id":123,"name":"First User (Bob Smith)"},
       ...
       {"id":168,"name":"Great Company (John Smith)"},{"id":288,"name":"Jack Daniel
       ```
   

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

The topic ‘Multiple Emails Sent’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-wp-mail/assets/icon-128x128.png?rev=1813772)
 * [Ultimate WP Mail](https://wordpress.org/plugins/ultimate-wp-mail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-wp-mail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-wp-mail/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-wp-mail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-wp-mail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-wp-mail/reviews/)

 * 15 replies
 * 5 participants
 * Last reply from: [Mario Beach](https://wordpress.org/support/users/mariobeach/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/multiple-emails-sent-2/#post-16815282)
 * Status: resolved