Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #982522

    Hi guys,

    I moved my new website from my staging site to the new domain.

    When I use the contact form, I receive a mail: New message, send from <old website domain>

    Where can I change this?

    Sincerely,
    Morticka

    #982579

    Hey Morticka,
    Enfold gets the setting from WordPress, but I’ve looked at your WordPress > Settings > General > WordPress Address
    and it looks correct.
    Does the message say “sent from” : “wordpress”@[old website domain]?
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    add_filter( 'wp_mail_from', 'my_mail_from' );
    function my_mail_from( $email ) {
        return "change-this-to-your-email-address";
    }
    

    Best regards,
    Mike

    #982671

    Hi Mike,

    I’m so sorry, I made a mistake!! I was checking the wrong email address after 10 hours nonstop work. Checked it again today, everything works fine. You can close this one, or remove it completely.

    Again, I’m sorry to have wasted your time :(

    Sincerely,
    Morticka

    #982686

    Hi,
    That’s ok, just glad all is working. We will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘After moving website to new domain, contactform still refers to old site’ is closed to new replies.