Title: [Plugin: Edit Flow] Notification Set Up Bug
Last modified: August 20, 2016

---

# [Plugin: Edit Flow] Notification Set Up Bug

 *  Resolved [osseonews](https://wordpress.org/support/users/osseonews/)
 * (@osseonews)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-edit-flow-notification-set-up-bug/)
 * First of all, congratulations on an incredible plugin.
 * The one error I found (and maybe I’m just missing something in the settings),
   is that for some reason all the notifications send from your plugin come from“
   wordpress@mydomain.com” (mydomain = the domain the plugin is on) – as such none
   of the notifications are ever delivered to recipients because they are viewed
   as SPAM by most email providers.
 * This is strange, because most plugins simply use the email address that is set
   in the General Settings page in WordPress to send email.
 * Is there any reason why your plugin doesn’t use the General Settings email and
   instead uses “wordpress@mydomain.com”? Is there a way to change this?
 * [http://wordpress.org/extend/plugins/edit-flow/](http://wordpress.org/extend/plugins/edit-flow/)

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

 *  Thread Starter [osseonews](https://wordpress.org/support/users/osseonews/)
 * (@osseonews)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-edit-flow-notification-set-up-bug/#post-2593379)
 * Also, forgot to mention that the from name is also set to: WordPress
 * So the emails from notifications come from:
    Wordress <wordpress@mydomain.com
   >
 * This is quite strange behavior, as I noticed that in notifications.php you use
   wp_mail() to send out your email. If so, why isn’t the From information for the
   emails being taken from the General Settings, which have the Site Title (to be
   used as From name) and email address (to be used as From email)?
 *  Thread Starter [osseonews](https://wordpress.org/support/users/osseonews/)
 * (@osseonews)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-edit-flow-notification-set-up-bug/#post-2593384)
 * Sorry, I think I’ll answer my own question here, in case anyone else runs into
   this problem.
 * For the plugin developers: perhaps this is an issue with wp_mail() and not the
   plugin per se, but still I think most other plugins will include code that has
   the from email from the General settings, or they allow you to change this in
   the plugin admin settings.
 * To change the functionality of the From Name and From Email for notifications,
   simply add the filters below to your functions.php, replacing myemail and myname
   as appropriate:
 * add_filter( ‘wp_mail_from’, ‘my_mail_from’ );
    function my_mail_from( $email ){
   return ‘myemail@mydomain.com’; }
 * add_filter( ‘wp_mail_from_name’, ‘my_mail_from_name’ );
    function my_mail_from_name(
   $name ) { return ‘My Name’; }
 *  Plugin Contributor [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-edit-flow-notification-set-up-bug/#post-2593613)
 * To clarify, email providers might also mark emails as spam if they’re sent from
   a different IP address than the domain is mapped to.
 * Filtering the wp_mail() values is probably the best approach in this context.
   Nice work on figuring it out 🙂
 *  [EFDisaster](https://wordpress.org/support/users/efdisaster/)
 * (@efdisaster)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-edit-flow-notification-set-up-bug/#post-2593717)
 * If I try to add anything like that to my functions.php, I get a server error.
   Any other ideas?
 *  Plugin Contributor [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-edit-flow-notification-set-up-bug/#post-2593718)
 * What’s the server error you get? Can you debug it further? [Here’s a quick intro](http://nacin.com/2010/04/23/5-ways-to-debug-wordpress/)

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

The topic ‘[Plugin: Edit Flow] Notification Set Up Bug’ is closed to new replies.

 * ![](https://ps.w.org/edit-flow/assets/icon-256x256.png?rev=3433533)
 * [Edit Flow](https://wordpress.org/plugins/edit-flow/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/edit-flow/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/edit-flow/)
 * [Active Topics](https://wordpress.org/support/plugin/edit-flow/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/edit-flow/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/edit-flow/reviews/)

## Tags

 * [Email Notifications](https://wordpress.org/support/topic-tag/email-notifications/)
 * [wp_mail](https://wordpress.org/support/topic-tag/wp_mail/)

 * 5 replies
 * 3 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-edit-flow-notification-set-up-bug/#post-2593718)
 * Status: resolved