WordPress.org

Forums

Configure SMTP
From field is incorrect (3 posts)

  1. Shadowdare
    Member
    Posted 4 years ago #

    I believe that the wp_mail() function uses the admin's email address in the "from" field instead of the contact's in the contact form. Is there any way to fix this to show the contact's name?

    http://wordpress.org/extend/plugins/configure-smtp/

  2. touchnova
    Member
    Posted 4 years ago #

    I wish the developer, or someone with the coding know-how, would address this issue. A seemingly minor fix would save users bundles of time by avoiding self-replies, forcing copy/past of actual site visitor's email to address line, etc.

  3. Scott Reilly
    WordPress & Plugin Dev
    Plugin Author

    Posted 4 years ago #

    It's up to whatever contact form plugin or custom code that you are using to override the "from" field for emails that it sends out. The Configure SMTP plugin doesn't know anything about the contact form implementation that may be in use; it is simply a tool for configuring the SMTP server and making some capabilities available to other code/plugins.

    Bear in mind that some mail servers will not accept for delivery any emails where the "From" email isn't based on a domain they host, so doing what you request would cause issues for some people (possibly including yourself).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Configure SMTP
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic