hi
i want to hook into delivery_server_after_send_email action but the problem is that in the send campaign which run by console app it is not call hook action but in the customer app it hooks properly. also extension is run with public $allowedApps = array('*');
i try this but it is not work in the sending campaign but it works in test customer template.
i also
i want to hook into delivery_server_after_send_email action but the problem is that in the send campaign which run by console app it is not call hook action but in the customer app it hooks properly. also extension is run with public $allowedApps = array('*');
i try this but it is not work in the sending campaign but it works in test customer template.
i also
Code:
hooks()->addAction('delivery_server_after_send_email',[$this,'sendData']);
public function sendData($params, $deliveryServer, $sent)
{
Yii::log('ok', CLogger::LEVEL_ERROR);
}