Payment receipt from Pro Sites

Hello,

I noticed that the email receipt when a user signs up for a new site using Pro Sites still has Wordpress as the sender. Is there a way to change that to my business name?

Thanks,
Chris

  • aecnu
    • WP Unicorn

    Greetings crazybodyfitness,

    Thank you for the question.

    One can either hunt it down within the core of WordPress and change it is the core in which it will be over written on the next WordPress update ~or~ use something like the Configure SMTP plugin which provides you the ability to define the name and e-mail of the 'From:' field for all outgoing e-mails.

    That will do the job for you.

    Thank you for being a WPMU DEV Community Member and have a GREAT upcoming weekend!

    Cheers, Joe

  • Gabe
    • The Bug Hunter

    Hey Chris. Joe's suggestion works well. You could also try adding this to your functions.php or a plugin:

    function new_mail_from($old) {
    	return 'example@example.com';
    }
    add_filter('wp_mail_from', 'new_mail_from');
    
    function new_mail_from_name($old) {
    	return 'Name - Company';
    }
    add_filter('wp_mail_from_name', 'new_mail_from_name');

    Just replace example(at)example.com with your email address and Name - Company with your name and company, or whatever you want to appear on the From: line.

    Hope this helps.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.