Support » Plugin: Clean Login » New User Notification Emails

  • Resolved ismailkimyacioglu

    (@ismailkimyacioglu)


    Hi,

    For my woocommerce website, when a new user registered, it sends an email from wordpress@misofis.com. I want the system to send from another email address such as info@misofis.com.

    How can I change that ? I have been looking for all the settings of WordPress, WooCommerce and CleanLogin, but couldn’t find.

    Could anybody help ?

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • While Googling, I have found the following;

    If the following code is pasted into the functions.php of child theme, then the default sender is replaced.

    // Function to change email address
     
    function wpb_sender_email( $original_email_address ) {
        return 'tim.smith@example.com';
    }
     
    // Function to change sender name
    function wpb_sender_name( $original_email_from ) {
        return 'Tim Smith';
    }
     
    // Hooking up our functions to WordPress filters 
    add_filter( 'wp_mail_from', 'wpb_sender_email' );
    add_filter( 'wp_mail_from_name', 'wpb_sender_name' );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.