Title: Email subject wrong
Last modified: August 20, 2016

---

# Email subject wrong

 *  Resolved [samiguel](https://wordpress.org/support/users/samiguel/)
 * (@samiguel)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/email-subject-wrong/)
 * When email gets sent this is how it looks in inbox:
    From: WordPress <wordpress@hu20.
   co.uk>
 * I don’t know how to set it to something along the lines of:
    From: Hu20 <contact@hu20.
   co.uk>
 * I have set up an email through cpanel as [contact@hu20.co.uk](https://wordpress.org/support/topic/email-subject-wrong/contact@hu20.co.uk?output_format=md)
   and also installed plugin Configure SMTP
 * Can anyone shed some light on this please/
 * Many thanks
 * Sam
 * [http://wordpress.org/extend/plugins/email-address-encoder/](http://wordpress.org/extend/plugins/email-address-encoder/)

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

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/email-subject-wrong/#post-3587751)
 * Hi Sam!
 * This is unrelated to the Email Address Encoder plugin, [check out this code](http://www.wprecipes.com/how-to-change-wordpress-default-from-email-address).
 *  Thread Starter [samiguel](https://wordpress.org/support/users/samiguel/)
 * (@samiguel)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/email-subject-wrong/#post-3587760)
 * Hi Till, do I just add it or paste it over an existing piece of code?
 * Came across these 3 folders (Which one?)
 * wp-admin
    wp-content wp-includes – functions.php functions.wp-script.php functions.
   wp-styles.php
 * Thanks Till
 * Sam
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/email-subject-wrong/#post-3587807)
 * I’d place the code in a must use plugin: [http://codex.wordpress.org/Must_Use_Plugins](http://codex.wordpress.org/Must_Use_Plugins)
 *  Thread Starter [samiguel](https://wordpress.org/support/users/samiguel/)
 * (@samiguel)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/email-subject-wrong/#post-3587808)
 * Hi Till, right I read up on the Must_Use_Plugins and for a novice this is what
   I did:
 * Copied plugin.php from wp-admin/includes/plugin.php
 * pasted it in wp-content and named it must-use-plugin.php and copied
 * }
    add_filter(‘wp_mail_from’, ‘new_mail_from’); add_filter(‘wp_mail_from_name’,‘
   new_mail_from_name’);
 * function new_mail_from($old) {
    return ‘contact@hu20.co.uk’; } function new_mail_from_name(
   $old) { return ‘Hu20 Info’; }
 * Can you assist please Till
 * Many thanks
 * Sam
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/email-subject-wrong/#post-3587820)
 * Create a empty file: `/wp-content/mu-plugins/email-settings.php` and paste the
   code from that article in it.
 *  Thread Starter [samiguel](https://wordpress.org/support/users/samiguel/)
 * (@samiguel)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/email-subject-wrong/#post-3587821)
 * Thanks Till It works Great many thanks.
 * Quick one Till, when customer receives email the content just has password and
   email, I find this rather bland and empty to adding a new customer.
 * If you can help, how do I input a thank you for registering message with login
   detail and password like this:
 * Welcome and thank you for registering at HU20!
 * Your account has now been created and you can log in by using your email address
   and
    password by visiting our website or at the following URL: [http://www.hu20.co.uk](http://www.hu20.co.uk)
 * Upon logging in, you will be able to access other services including updating
   business details, upload images and adding new posts to your page.
 * Thanks,
    HU20
 * Thanks again Till
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/email-subject-wrong/#post-3587839)
 * Try [this](http://wordpress.org/extend/plugins/welcome-email-editor/) or [that](http://wordpress.org/extend/plugins/wp-better-emails/)
   plugin.

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

The topic ‘Email subject wrong’ is closed to new replies.

 * ![](https://ps.w.org/email-address-encoder/assets/icon-256x256.jpg?rev=970206)
 * [Email Address Encoder](https://wordpress.org/plugins/email-address-encoder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-address-encoder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-address-encoder/)
 * [Active Topics](https://wordpress.org/support/plugin/email-address-encoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-address-encoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-address-encoder/reviews/)

## Tags

 * [address](https://wordpress.org/support/topic-tag/address/)
 * [email](https://wordpress.org/support/topic-tag/email/)
 * [subject](https://wordpress.org/support/topic-tag/subject/)

 * 7 replies
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/email-subject-wrong/#post-3587839)
 * Status: resolved