diff options
author | Matthias <git@myrho.net> | 2021-03-26 22:16:13 +0300 |
---|---|---|
committer | Matthias <git@myrho.net> | 2021-03-26 22:37:10 +0300 |
commit | 69b905d92cc6b37b0e5ad506f8ff198d6b87dc0e (patch) | |
tree | aaccb2b69cb2e8e94f7f92817cf24e3119a50214 /src/errors/convert.js | |
parent | 5bf2f9667fbefbad5e695b862c5e59bf823190db (diff) |
warn before sending to many recipients in to/cc
Signed-off-by: Matthias <git@myrho.net>
Diffstat (limited to 'src/errors/convert.js')
-rw-r--r-- | src/errors/convert.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors/convert.js b/src/errors/convert.js index c4f52fbb5..bbd7c9c62 100644 --- a/src/errors/convert.js +++ b/src/errors/convert.js @@ -26,6 +26,7 @@ import NoSentMailboxConfiguredError from './NoSentMailboxConfiguredError' import NoTrashMailboxConfiguredError from './NoTrashMailboxConfiguredError' import CouldNotConnectError from './CouldNotConnectError' import ManageSieveError from './ManageSieveError' +import ManyRecipientsError from './ManyRecipientsError' const map = { 'OCA\\Mail\\Exception\\DraftsMailboxNotSetException': NoDraftsMailboxConfiguredError, @@ -34,6 +35,7 @@ const map = { 'OCA\\Mail\\Exception\\SentMailboxNotSetException': NoSentMailboxConfiguredError, 'OCA\\Mail\\Exception\\TrashMailboxNotSetException': NoTrashMailboxConfiguredError, 'OCA\\Mail\\Exception\\CouldNotConnectException': CouldNotConnectError, + 'OCA\\Mail\\Exception\\ManyRecipientsException': ManyRecipientsError, 'Horde\\ManageSieve\\Exception': ManageSieveError, } |