This topic has 6 replies, 4 voices, and was last updated 9 years by Abe.

  • Author
  • #9912
     scingalls
    Participant

    How do I change the wordpress from email? I’ve tried countless plugins, and numerous coding things, but it either stops sending the emails, or sends the emails from wordpress.

    #9913
     scingalls
    Participant

    Nevermind, I figured it out. If you change the coding like so in the function.php folder…

    add_filter(‘wp_mail_from’, ‘new_mail_from’);
    add_filter(‘wp_mail_from_name’, ‘new_mail_from_name’);

    function new_mail_from($old)
    {
    return ‘your@email.com’;
    }

    function new_mail_from_name($old)
    {
    return ‘Your Name or Your Website’;
    }

    It works!

    #10034
     Abe
    Keymaster

    That is a much better way instead of a plugin.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #11445
     Gi-Shop
    Participant

    where can i find the folder function.php? and what should i replace the code for?

    Thanks for helping

    #11646
     Abe
    Keymaster

    Hi. Having the child theme activated inside child theme folder / functions.php
    Just add it, nothing to replace

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #61109
     xsoftweb
    Participant

    Hello, i tried just this. I copied the code into my function.php file, when i updated the file, my website starts showing different errors. pease can you explain a better way to use the code or better solution to the issue.

    Furthermore, i need to change the content of the email sent, the current one is telling the new user to click the url http://www.domain.com/wp-login.php. I don’t want this at all. I want a professional html email not something complicated to the user.

    Please help to look into the issue as soon as possible.

    Thanks

    #63407
     Abe
    Keymaster

    Please use a plugin for that. Search the web for something like this one https://wordpress.org/plugins/wp-change-default-email/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?