I've added
Code: Select all
core.notification_message_email
Code: Select all
$event['addresses'] = array_merge($event['addresses'], array('cc' => array(array('email' => '[email protected]', 'name' => 'Forum'))));
Code: Select all
$event['addresses']
Code: Select all
array(4) {
["break"]=>
bool(false)
["addresses"]=>
array(2) {
["cc"]=>
array(1) {
[0]=>
array(2) {
["email"]=>
string(14) "[email protected]"
["name"]=>
string(9) "Forum"
}
}
["to"]=>
array(1) {
[0]=>
array(2) {
["email"]=>
string(22) "[email protected]"
["name"]=>
string(4) "Username"
}
}
}
For testing purposes I've added
Code: Select all
$this->addresses['cc'][0]['email'] = trim('[email protected]');
$this->addresses['cc'][0]['name'] = trim('Forum');
I can't really find out what I am doing wrong and why emails are not being sent to the CC address that I add via the extension.