Forums

Edit welcome email (2 posts)

  1. navegante
    Member
    Posted 2 years ago #

    Hi! I´m tring to set a colaborative blog and i need to have a welcome message to new users by email, next to user login and password.
    Any ideia how can i do that? Can´t find any articule or plugin related to that.

  2. epicalex
    Member
    Posted 2 years ago #

    if you're still looking, edit the pluggable.php file in wp-includes.

    look for these lines

    $message  = sprintf(__('Username: %s'), $user_login) . "\r\n";
    	$message .= sprintf(__('Password: %s'), $plaintext_pass) . "\r\n";

    and add another line so you have something like this

    $message  = sprintf(__('Welcome %s'), $user_login) . "\r\n";
    	$message .= "Congratulations!!! You have become a part of mydomain.com!
    blah blah
    
    Keep in touch.
    
    Cheers
    \r\n";
    	$message .= sprintf(__('Username: %s'), $user_login) . "\r\n";
    	$message .= sprintf(__('Password: %s'), $plaintext_pass) . "\r\n";

Topic Closed

This topic has been closed to new replies.

About this Topic