multiple admin notification emails

This topic contains 7 replies, has 2 voices, and was last updated by Avatar Steve 4 years, 6 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #10002823
    Avatar
    Steve
    Participant

    Is there a way to add multiple email address to the admin notifications either the To: or BCC: fields?

    Thanks

    #10002824
    Avatar
    Pie Register
    Keymaster

    Hello,

    Yes you can add multiple email addresses for admin notifications, the
    BCC field is already given in Admin Notification Page.

    Thanks

    #10002826
    Avatar
    Steve
    Participant

    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.

    #10002835
    Avatar
    Pie Register
    Keymaster

    Hello,

    You dont need to put it on single line, there is a BSS input box already
    given into the Admin Notification page.

    Thanks

    #10002843
    Avatar
    Steve
    Participant

    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.

    #10002845
    Avatar
    Pie Register
    Keymaster

    Hi Steve,

    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
    Mohsin

    #10002851
    Avatar
    Steve
    Participant

    Thanks. Do I just need to comment that out. Also would i need to add a delimiter such as “;” in between each email.

    #10002864
    Avatar
    Steve
    Participant

    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.

Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘Pie-Register 2.0 Support’ is closed to new topics and replies.