Page 1 of 1
Openbay Library - sending additional emails
Posted: Sat May 21, 2016 10:40 pm
by straightlight
In system/library/openbay.php file,
find:
Code: Select all
$emails = explode(',', $this->config->get('config_alert_emails'));
replace with:
Code: Select all
$emails = explode(',', $this->config->get('config_mail_alert'));
Re: Openbay Library - sending additional emails
Posted: Sat May 21, 2016 11:14 pm
by IP_CAM
Very interesting! But, what does it do exactly? Where is this config_mail_alert beeing defined, and where does it get it's seemengliy different Mail Adresses, to handle them ?
Ernie
Re: Openbay Library - sending additional emails
Posted: Sun May 22, 2016 12:57 am
by straightlight
These modifications are for Opencart v2.2.0.0 release. The additional emails feature has not been released recently. This is quite an old existing feature in Opencart. In admin - > systems - > settings - > add / edit store - > server tab, you will find at the bottom of the page the 'Additional emails' text area to add new emails sequentially.
The original variable added from the openbay library has the wrong key name in order to extract the added emails into an array before passing them into the loop.
Re: Openbay Library - sending additional emails
Posted: Mon May 23, 2016 1:18 am
by IP_CAM
thanks for the Information!
Ernie