Title: Form Fields
Last modified: June 9, 2021

---

# Form Fields

 *  Resolved [rockstaremperor](https://wordpress.org/support/users/rockstaremperor/)
 * (@rockstaremperor)
 * [5 years ago](https://wordpress.org/support/topic/form-fields-13/)
 * Hi,
    When I receive emails, in the From field, the name is displayed as “WordPress”
   instead of the sender’s name. Screenshot here – [https://imgur.com/a/niiXFUD](https://imgur.com/a/niiXFUD)
 * How do I configure the form settings so that the From field display sender’s 
   name instead of the word “WordPress”?
 * Thanks!

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

 *  [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/form-fields-13/#post-14544664)
 * Hey [@rockstaremperor](https://wordpress.org/support/users/rockstaremperor/),
 * By default, any email sent from WordPress has the default “WordPress” name. You
   can use 3rd party plugins like [https://wordpress.org/plugins/wp-change-email-sender/](https://wordpress.org/plugins/wp-change-email-sender/)
   to change it.
 *  Thread Starter [rockstaremperor](https://wordpress.org/support/users/rockstaremperor/)
 * (@rockstaremperor)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/form-fields-13/#post-14544971)
 * Hi Harish,
 * Earlier, I was using Fluent Forms plugins for the contact form. Whenever I receive
   emails, sender field would display the sender’s name instead of WordPress. So
   is it possible to do the same in your plugin without using additional 3rd party
   plugin?
 *  [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/form-fields-13/#post-14555961)
 * Hi,
 * You can add the following code snippet:
 * add_filter(‘hf_action_email_from’, function($to, $submission) {
    return “your-
   email@your-domain.com”; }, 10, 2);`
 * Hope that helps. If you have any questions, please let me know!
 *  Thread Starter [rockstaremperor](https://wordpress.org/support/users/rockstaremperor/)
 * (@rockstaremperor)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/form-fields-13/#post-14556847)
 * Hi Lap,
 * I think that code is not related to my query. I just wanted Sender’s Name to 
   display in From field instead of “WordPress” which is displaying now for every
   email I receive.
 * For example, this is what I am receiving now.
    From: WordPress <sender’s email
   >
 * I wanted like this.
    From: Sender’s Name <sender’s email>
 *  [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/form-fields-13/#post-14560177)
 * Can you please test
 * add_filter(‘hf_action_email_from’, function($to, $submission) {
    return “Your
   name <your-email@your-domain.com>”; }, 10, 2);`
 * Hope that helps. If you have any questions, please let me know!
 *  Thread Starter [rockstaremperor](https://wordpress.org/support/users/rockstaremperor/)
 * (@rockstaremperor)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/form-fields-13/#post-14561102)
 * Sorry, not my name or my email. You did not get it. I am the receiver. I want
   sender’s name and sender’s email to display in “From” field.
 *  [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/form-fields-13/#post-14570184)
 * I would not do that as it will most likely mark all the emails as spam as your
   server doesn’t have permission to send emails coming from those domains.
 * Instead, under HTML Forms > Form > Actions > Email, under Additional headers 
   fill:
 * Reply-To: [NAME] <[EMAIL]>
 * That will keep the from as is, but it will set the reply to to the values filled
   in the form.
 * Hope that helps. If you have any questions, please let me know!
 *  Thread Starter [rockstaremperor](https://wordpress.org/support/users/rockstaremperor/)
 * (@rockstaremperor)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/form-fields-13/#post-14571656)
 * I just filled the From field as
    From: [NAME] <[EMAIL]>
 * Problem solved. Thanks!

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

The topic ‘Form Fields’ is closed to new replies.

 * ![](https://ps.w.org/html-forms/assets/icon-256x256.png?rev=1754345)
 * [HTML Forms - Simple WordPress Forms Plugin](https://wordpress.org/plugins/html-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/html-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/html-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/html-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/html-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/html-forms/reviews/)

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)

 * 8 replies
 * 3 participants
 * Last reply from: [rockstaremperor](https://wordpress.org/support/users/rockstaremperor/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/form-fields-13/#post-14571656)
 * Status: resolved