Title: Sends e-mails twice
Last modified: January 11, 2017

---

# Sends e-mails twice

 *  Resolved [fabianhijlkema](https://wordpress.org/support/users/fabianhijlkema/)
 * (@fabianhijlkema)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/)
 * Plugin sends the e-mails twice in my setup, except when sending from a list. 
   There seems to be some doubling in the code of wp-users-email.php

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

 *  Plugin Author [Techspawn](https://wordpress.org/support/users/techspawn1/)
 * (@techspawn1)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/#post-8642380)
 * [@fabianhijlkema](https://wordpress.org/support/users/fabianhijlkema/) I just
   checked latest release and I was unable to find the issue. So can you please 
   tell us the process you followed so that we can improve.
 * Thanks.
 *  Thread Starter [fabianhijlkema](https://wordpress.org/support/users/fabianhijlkema/)
 * (@fabianhijlkema)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/#post-8642449)
 * Hi,
 * Quite straightforward process I would say. Installed plugin, selected one user
   to send an e-mail to, either using a custom template or no template. Disabled
   some plugins to see if the problems was in that area, but no. The only special
   thing is that i’m testing this locally through MAMP not using the STMP setting.
   When sending e-mails, the success message also displays twice on top of the page.
 * When I comment on of the following lines on line 956 or 1675 of wp-users-email.
   php out, the e-mail gets sent once. Getting one error and one success message
   on top the page.
 * `$wau_status = wp_mail($wau_to[$j], $subject, $body, $headers);`
 *  [tataelm](https://wordpress.org/support/users/tataelm/)
 * (@tataelm)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/#post-8645772)
 * I have the same problem. Have you figured out how to solve it?
 *  Plugin Author [Techspawn](https://wordpress.org/support/users/techspawn1/)
 * (@techspawn1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/#post-8649541)
 * Guys thanks for marking the issue we are fixing the issue in next release.
 * Thanks.
 *  [Oazar](https://wordpress.org/support/users/oazar/)
 * (@oazar)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/#post-8650810)
 * Hello I have this same problem, and this morning update did not fix it..
    thanks
   for your help
 *  Thread Starter [fabianhijlkema](https://wordpress.org/support/users/fabianhijlkema/)
 * (@fabianhijlkema)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/#post-8650821)
 * For me it was fixed actually!
 *  [Oazar](https://wordpress.org/support/users/oazar/)
 * (@oazar)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/#post-8650869)
 * Lucky you !!!
 * Ok so I will open a new thread
 *  [Oazar](https://wordpress.org/support/users/oazar/)
 * (@oazar)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/#post-8650915)
 * Yes you are right Fabian, I just had another notification for a new upgrade, 
   and it did work for me too !

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

The topic ‘Sends e-mails twice’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-email-users_59bcfd.svg)
 * [WP Email Users](https://wordpress.org/plugins/wp-email-users/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-email-users/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-email-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-email-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-email-users/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [Oazar](https://wordpress.org/support/users/oazar/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/sends-e-mails-twice/#post-8650915)
 * Status: resolved