Email from / to
Permalink Browser Info Environment
Hi... great add-on, thanks.
One thing... I want to change the email from: and to: - currently it's set up as super user ID I think so I'm getting the notifications to: my personal email and from: the same email account as I'm the admin. I want to change the email to: a different registered user or their email address and from: a different email address.
Is this possible? I've white labelled the default email but this doesn't seem to have an effect on this add-on. Thanks J
One thing... I want to change the email from: and to: - currently it's set up as super user ID I think so I'm getting the notifications to: my personal email and from: the same email account as I'm the admin. I want to change the email to: a different registered user or their email address and from: a different email address.
Is this possible? I've white labelled the default email but this doesn't seem to have an effect on this add-on. Thanks J
Type: | Pre-Sale |
---|---|
Status: | In Progress |
You'll need to modify the getAdminEmail() function in SITEROOT/packages/email_list_signup/blocks/email_list_signup/controller.php
Hi... apologies for the delay. I think I can see where it is but I'm a PHP noob - where exactly would I put in custom email for FROM: and TO:?
Thanks J
Thanks J
Edit that file on your server, and find the "getAdminEmail" function -- it should be around line #143, and it looks like this:
What you can do is delete the 3 lines in between the "curly braces", and replace them with your email address, so it would look like this:
Good luck!
-Jordan
private function getAdminEmail() { $adminUserInfo=UserInfo::getByID(USER_SUPER_ID); $adminEmail = $adminUserInfo->getUserEmail(); return $adminEmail; }
What you can do is delete the 3 lines in between the "curly braces", and replace them with your email address, so it would look like this:
private function getAdminEmail() { return "youremailaddress@domain.com"; }
Good luck!
-Jordan
Hi Jordan... seems to have worked! Thanks for your help!