Support » Plugin: Jetpack by » Contact form emails sent from wrong address

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Brandon Kraft


    Happiness Engineer

    Hi Alex,

    That’s correct. The contact form is set to use the wordpress@(blog’s domain name0 address with a reply-to of the e-mail address from the contact form sender.

    Can you explain more about why you’re wanting this to be different so we can understand your use case better?


    If you are comfortable with adding new stuff to your theme, add this to your theme’s functions.php:

    // changes email from default ""
    function change_from_email() {
    $message = 'YOUR@DOMAIN.COM';
    return $message;
    add_filter('wp_mail_from', 'change_from_email');

    That will change the “from” address when sending emails from your WordPress, including the contact forms.

    Be aware that using as sender an IP (webserver) that is not approved in your domain’s SPF record and DKIM policy, could lead to your emails being flagged as spam by the email providers.

    For example, if you set up “” as sender, obviously your webserver will not be listed in gmail’s approved sender ips to send emails on behalf of, so every single message will be delivered directly into spam folders.

    But, if your blog is using gmail’s SMTP servers to deliver emails, you are clear of problems since it’s actually gmail the one that will send the messages for you.

    It is not as easy as it looks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Contact form emails sent from wrong address’ is closed to new replies.