Title: Edit Sender/From?
Last modified: August 23, 2020

---

# Edit Sender/From?

 *  Resolved [britand](https://wordpress.org/support/users/britand/)
 * (@britand)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/edit-sender-from/)
 * Is there a way to change the default Sender/From? I ask because I just resent
   an email, and it says it came from “WordPress”.
 * Thanks…great plugin!
 * Brian

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

 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/edit-sender-from/#post-13312330)
 * Hi Brian,
 * Glad you like the plugin! Do you mean you sent an email with a custom ‘from’ 
   header and upon resending it, it reverted back to “WordPress”? If, however you’re
   asking to set the default ‘from’ heading you can do it by using the `wp_mail_from`
   and `wp_mail_from_name` filters that WordPress already provides.
 * Hope that helps!
 *  Thread Starter [britand](https://wordpress.org/support/users/britand/)
 * (@britand)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/edit-sender-from/#post-13312354)
 * Yes, I am refrring to the second part in your answer. That said, where do I access
   these filters you mentioned to set the mup? I imagine this is super easy, but
   I’m not familiar with them. Thanks!
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/edit-sender-from/#post-13313920)
 * In your theme’s functions.php file you can add this code snippet at the bottom.
   Just change the values to what you’d like. I’m afraid I won’t be able to help
   you beyond this so if you’re still struggling I’d recommend grabbing a developer!
 *     ```
       add_filter('wp_mail_from', function($email) {
           return 'webmaster@mydomainname.com';
       });
   
       add_filter('wp_mail_from_name', function($name) {
           return 'WordPress Email System';
       });
       ```
   
 * Here is the documentation for each filter:
    [https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_from_name](https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_from_name)
   [https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_from](https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_from)

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

The topic ‘Edit Sender/From?’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-catcher/assets/icon.svg?rev=2221293)
 * [Mail logging - WP Mail Catcher](https://wordpress.org/plugins/wp-mail-catcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-catcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-catcher/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-catcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-catcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-catcher/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [JWardee](https://wordpress.org/support/users/wardee/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/edit-sender-from/#post-13313920)
 * Status: resolved