- December 1, 2014 at 9:17 pm #10002823
Is there a way to add multiple email address to the admin notifications either the To: or BCC: fields?
ThanksDecember 2, 2014 at 12:39 am #10002824
Yes you can add multiple email addresses for admin notifications, the
BCC field is already given in Admin Notification Page.
ThanksDecember 2, 2014 at 1:39 am #10002826
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.December 2, 2014 at 10:31 pm #10002835
You dont need to put it on single line, there is a BSS input box already
given into the Admin Notification page.
ThanksDecember 2, 2014 at 11:52 pm #10002843
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.December 3, 2014 at 1:15 am #10002845
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.
MohsinDecember 3, 2014 at 5:27 am #10002851
Thanks. Do I just need to comment that out. Also would i need to add a delimiter such as “;” in between each email.December 3, 2014 at 8:55 pm #10002864
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.
The forum ‘Pie-Register 2.0 Support’ is closed to new topics and replies.