Tagged: admin notificaiton
Is there a way to add multiple email address to the admin notifications either the To: or BCC: fields?
Yes you can add multiple email addresses for admin notifications, the
BCC field is already given in Admin Notification Page.
How would I add multiple address. I have tried using a delimiter such as “;” and “,” but it does not seem to work. it only sends to that first email.
You dont need to put it on single line, there is a BSS input box already
given into the Admin Notification page.
right. but it is possible to have more than two? I have about 5 people that i would like to get notified with new user registrations.
I am afraid adding multiple users in a single input line is not allowed
as of now, we are using `filter_var($bcc,FILTER_VALIDATE_EMAIL)` to
validate the email, you add multiple addresses only if you disable this
function in the code.
Thanks. Do I just need to comment that out. Also would i need to add a delimiter such as “;” in between each email.
I figured it out. Commented out that bit of code. So my new line looks like this.
if(!empty($bcc))//remove verification && filter_var($bcc,FILTER_VALIDATE_EMAIL))//Validating BCC
Then on the bcc line i added each email address I wanted delimited with a “,” no spaces. I can now send to multiple people.
Thanks for the help.
You must be logged in to reply to this topic.