• Resolved faisal95bd

    (@faisal95bd)


    Hi,

    In the general setting of my website the “New User Default Role” is “Cusotmer” https://prnt.sc/1vy7jbq

    Now, when a new account is created by a customer. A email is sent to the admin.

    But I want to send that email to my shopmanager.
    So, how can I send that email to a specific email id?

Viewing 1 replies (of 1 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @faisal95bd,

    A new WordPress user registration notification is sent to the admin email by default. If you want to notify another recipient you could set up an alias/forwarder in your email system that sends a copy to the Shop Manager too.

    You could also try the following PHP snippet (not tested) for custom admin email for new user registration as seen on this page:

    add_filter( 'wp_new_user_notification_email_admin', 'my_wp_new_user_notification_email_admin', 10, 3 );
    function my_wp_new_user_notification_email_admin( $notification, $user, $blogname ) {
        $notification['to'] = 'YOUREMAILADDRESS';
        return $notification;
    }

    If it does not work, we would highly recommend asking in other channels for developers such as the WooCommerce Community Slack.

    Cheers.

Viewing 1 replies (of 1 total)
  • The topic ‘Send “New User Registration” email to a specific mail id’ is closed to new replies.