How do I stop receiving ‘new user registration’ emails?
You’d have to change a core file to do that but why not just use a junk email box address for the General->Options E-mail address:?
Isn’t that email address used for viable reasons, too, such as contacting the administrator? Or is that for the admimnistrator’s email address?
Not too sure what ‘contacting the admininstrator’ is 😉
Seriously, I thought that the only time that email address was used was when someone registered.
Maybe that’s not correct…
“This address is used only for admin purposes.”
I don’t know, maybe you are right.
I understood it like this:
While the field description in admin says “This address is used only for admin purposes”, that also includes comment approval, see “duscussion options” in admin.
I believe you’ll have to hack the core code.
I would also like to do this. Was surprised there is no such option in a 1.5 product, much less a 2.0 product. 🙁
Luckly I just found this. 🙂
So remove lines 83 – 87, that is this:
$message = sprintf(__(‘New user registration on your blog %s:’), get_settings(‘blogname’)) . “\r\n\r\n”;
$message .= sprintf(__(‘Username: %s’), $user_login) . “\r\n\r\n”;
$message .= sprintf(__(‘E-mail: %s’), $user_email) . “\r\n”;
@wp_mail(get_settings(‘admin_email’), sprintf(__(‘[%s] New User Registration’), get_settings(‘blogname’)), $message);
The easier solution is putting a Filter on your email. Almost every email program lets you filter incoming mail by a word in the subject line. How about making a filter so all email with the word “Registration” in the headline, gets sent to your trash folder?
By the way I am curious: how many Users do you have registering?
my problem is that i have several users as authors, and the email not only goes out to me (the admin), but the other authors as well.
i don’t have many users registering – like 10 so far, but I’d rather not have the email going to the authors as well.
New User Registrations are not normally sent to Author-level users.
Normally Authors only receive an email when someone Comments on a post published by that author.
hmmm…any possible reason for this? something obvious that i’ve missed?
aop1980 maybe make a new thread for your problem since it’s a little different than the 1st poster’s question. If yours is actually sending New User Registration emails to mere Authors (non-Administrators) on your site, that is odd.
To expand on war59312’s post, the file in question is pluggable-functions.php in wp-includes. I’ve just commented out the line starting @wp_mail in the function wp_new_user_notification.
For those who are suggesting using a junk e-mail or a filter, I don’t think this is what Gary is after as it would affect all admin notifications. It’s just the new user ones that are the issue.
I have set up a new blog at http://www.va-announcements.com. I want to allow multiple users to register and post their own announcements however I cannot work out a number of things:
1. I am not getting any notification when someone new registers.
2. I’d like to have the choice of approving a new registered user before they’re allowed to post.
Is it possible to do both above? I’ve been searching through the forum but haven’t yet found the answer to these two questions. I do know how to change their settings and am choosing author level once they’re actually registered – but I have to know first that they have.
I’m using WordPress 2.0.4.
- The topic ‘How do I stop receiving ‘new user registration’ emails?’ is closed to new replies.