multiple admin notification emails

Home Forums Pie-Register 2.0 Support multiple admin notification emails

This topic contains 7 replies, has 2 voices, and was last updated by  Steve 3 years, 10 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2823

    Steve
    Participant

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

    Thanks

    #2824

    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

    #2826

    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.

    • This reply was modified 3 years, 10 months ago by  Steve.
    #2835

    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

    #2843

    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.

    #2845

    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

    #2851

    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.

    • This reply was modified 3 years, 10 months ago by  Steve.
    #2864

    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)

You must be logged in to reply to this topic.