Support » Fixing WordPress » not getting wordpress notification via mail

  • I have changed my email from:

    Admin profile
    and I added this code for from email id in functions.php

    /** changing default wordpres email settings */
    add_filter('wp_mail_from', 'new_mail_from');
    add_filter('wp_mail_from_name', 'new_mail_from_name');
    function new_mail_from($old) {
     return '';     //I am using here client original email id
    function new_mail_from_name($old) {
     return 'Mail from my website';

    but I am still getting all notification of wordpress in old email id not in the new one which I have changed.

    What should I do If I missed something then ask and thanks in advance…..

  • The topic ‘not getting wordpress notification via mail’ is closed to new replies.