Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

WordPress Version: WordPress 3.2.1

Settings -> General http://www.example.org/wp-admin/options-general.php

I would like to have multiple email address in the Email Address textbox.

I tried abc@abc.com, xyz@xyz.com, after I save it. It become abc@abc.comxyz@xyz.com

How can I allow multiple email on that field?

We need this function because we have multiple admin in the website.

share|improve this question
    
Add you other admins as separate users and give them admin permissions? In WordPress each user has one primary email address. –  Hameedullah Khan Jan 1 '12 at 7:59
    
As far as i know its not possible and there are a few tickets open on the track for this issue –  Bainternet Jan 1 '12 at 13:08
    
Other Admin did not get any notification, only the email address entered in the General Settings is received. –  Shiro Jan 1 '12 at 16:25
    
@Bainternet May I know where is the ticket, I can go there vote for it. –  Shiro Jan 1 '12 at 16:26
2  
@Shiro i think its core.trac.wordpress.org/ticket/10726 –  Bainternet Jan 1 '12 at 16:35

2 Answers 2

It's not really a WP-specific solution, but if you set up a Gmail address (and likely others), you could create a filter to automatically forward notifications generated by WordPress to other admins.

Short of WordPress adding multi-email notifications, that might be a workaround to temporarily solve the problem.

share|improve this answer

I had an instance where I needed to send multiple emails any time a new user registered as there were a few different processes that needed to happen to onboard a new user. I accomplished this by adding a custom options page and custom fields to hold the email addresses so they could be easily changed, then hooking to the user_register event and gathering those emails to also send out the new user's information. This functionality could easily be extended or developed as a plugin to handle other email notifications as well. You could even pull email addresses directly from your Users info based on their account permissions or roles depending on how you need this functionality to work.

http://codex.wordpress.org/Plugin_API/Action_Reference/user_register

If you don't want to write the PHP for it, you can easily create custom options pages with custom fields using plugin ACF with the Option Page addon. http://www.advancedcustomfields.com/

My first instinct was to just edit the PHP in /wp-includes/pluggable.php which is where the emails are actually fired, however I suggest against this as any upgrade to the WordPress core will overwrite your modifications.

share|improve this answer
    
This does not answer the question. –  kaiser Oct 17 at 16:11
    
It's a more valid answer than setting up email forwarding filters in Gmail. At least it gives the OP a different method to accomplish his goal within WP. –  jdbosley Oct 17 at 19:28
    
I already downvoted that one. Anyway, the question really is about how to filter and change that. There are plugins linked on one of the according track tickets, you could filter the sanitization of update_option() and alter is_email() with one time filter or the return value of get_option(). That would be something that could be the base for an answer... –  kaiser Oct 17 at 22:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.