I would like to set up Automessage but I am a bit confused.


I would like to set up Automessage but I am a bit confused.

I would like to be able to send an email to all new users who have signed up for a site through Pro Sites.

The confusion is that I see Automessage settings at sub site level but not at Network level.

Is this not a Multisite plugin?


  • Justin

    Het Bojan,

    Well, not really.

    These are the emails that I can change.

    And it looks like Automessage has more options. But if you are saying that I CANT use it together then the story stops there anyway.


    Another question - how can I get an automatic notification which includes the email address of a new user when they sign up for a new site?

    At the moment the notification emails that I get only include user name and site url.



  • Bojan Radonic

    Hey again @Justin,

    Automessage allows you to send emails on user/site registration and it should work along side with pro sites. The way it should work for your blog / user registration would be to activate it on your main site rather then using it on your network if that makes sense. However, I've tested this on two different installs and automessage didn't send any messages on registration so we'll have to report this to our developer so he can investigate this further.

    As for editing New Site Registration email I've found several custom solutions for editing registration emails that are being sent to users but none for the one that is sent to admin so I'll include an available developer from second level support for his opinion on this.

    Please note that, developer response might be slower than usual staff response, so we appreciate your patience on this.

    Best regards,

  • Anang

    Hi @Justin

    You can try this code to include email in admin notification when user registered :

    // Redefine user notification function
    if ( !function_exists('wp_new_user_notification') ) {
    	function wp_new_user_notification( $user_id, $plaintext_pass = '' ) {
    		$user = new WP_User( $user_id );
    		$user_login = stripslashes( $user->user_login );
    		$user_email = stripslashes( $user->user_email );
    		$message  = sprintf( __('New user registration on %s:'), get_option('blogname') ) . "\r\n\r\n";
    		$message .= sprintf( __('Username: %s'), $user_login ) . "\r\n\r\n";
    		$message .= sprintf( __('E-mail: %s'), $user_email ) . "\r\n";
    			sprintf(__('[%s] New User Registration'), get_option('blogname') ),
    		if ( empty( $plaintext_pass ) )
    		$message  = __('Hi there,') . "\r\n\r\n";
    		$message .= sprintf( __("Welcome to %s! Here's how to log in:"), get_option('blogname')) . "\r\n\r\n";
    		$message .= wp_login_url() . "\r\n";
    		$message .= sprintf( __('Username: %s'), $user_login ) . "\r\n";
    		$message .= sprintf( __('Password: %s'), $plaintext_pass ) . "\r\n\r\n";
    		$message .= sprintf( __('If you have any problems, please contact me at %s.'), get_option('admin_email') ) . "\r\n\r\n";
    		$message .= __('Thanks!');
    			sprintf( __('[%s] Your username and password'), get_option('blogname') ),

    Let me know the result :slight_smile:

    Best Regards

  • Anang

    Hi @Justin

    Sorry I'm forgot to mentioned the location. You need to put it on a filed in folder mu-plugins.
    1. Create mu-plugins under wp-content folder if not exist
    2. Create new file called override-notif.php
    3. Paste the code there
    4. Save the file

    And if it's not working, you can try to change

    Let me know the result :slight_smile:

    Best Regards

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.