Show error notice when email is sent from unauthorized email
[MAILPOET-1787]
This commit is contained in:
@ -51,7 +51,7 @@ class MailPoet {
|
||||
if (!empty($result['code']) && $result['code'] === API::RESPONSE_CODE_KEY_INVALID) {
|
||||
Bridge::invalidateKey();
|
||||
}
|
||||
return $this->error_mapper->getErrorForResult($result, $subscriber);
|
||||
return $this->error_mapper->getErrorForResult($result, $subscriber, $this->sender);
|
||||
}
|
||||
|
||||
function processSubscriber($subscriber) {
|
||||
|
Reference in New Issue
Block a user