What if there's more than 1 site Admin

Permalink Browser Info Environment
The Add-on sends to the site Administrator.
So if there are two Admin accounts, what will happen? Will the Add-on send to both, or how does that work?

I'm wanting to send to the client, not me. I hoping the simplest way is to create a 2nd Admin account for the client (I'll create a new email account for the client that is only used for this purpose, and have all those emails automatically forwarded to her).

Thank you in advance.

Type: Discussion
Status: New
OKDnet
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Sorry for the delay.
This addon sends the email to the "super admin" -- the very first admin account that was created when you first installed the site.
If you want to send the email to other people, you'll need to modify the code in this file:
YOURSITE/packages/email_list_signup/blocks/email_list_signup/controller.php

...and around line #126 you should see this:
$mh2->to($this->getAdminEmail());

To add more addresses, copy that line and paste another one below it. For example, you could do this:
$mh2->to($this->getAdminEmail()); //goes to the "super admin"
$mh2->to('someone@example.com'); //goes to another admin
$mh2->to('another@example.com'); //goes to yet another person


-Jordan

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.