Display a specific error message for banned users
[MAILPOET-3667]
This commit is contained in:
@ -8,10 +8,13 @@ class MailerError {
|
||||
const OPERATION_CONNECT = 'connect';
|
||||
const OPERATION_SEND = 'send';
|
||||
const OPERATION_AUTHORIZATION = 'authorization';
|
||||
const OPERATION_INSUFFICIENT_PRIVILEGES = 'insufficient_privileges';
|
||||
|
||||
const LEVEL_HARD = 'hard';
|
||||
const LEVEL_SOFT = 'soft';
|
||||
|
||||
const MESSAGE_EMAIL_FORBIDDEN_ACTION = 'Key is valid, but the action is forbidden';
|
||||
const MESSAGE_EMAIL_INSUFFICIENT_PRIVILEGES = 'Insufficient privileges';
|
||||
const MESSAGE_EMAIL_NOT_AUTHORIZED = 'The email address is not authorized';
|
||||
|
||||
/** @var string */
|
||||
|
Reference in New Issue
Block a user