From 443a6df070b957317986e458db6b3d4fcf00712d Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 23 Jan 2024 14:34:41 +0100 Subject: [PATCH] Small change to show why saving message to Sent mailbox failed #1397 --- dev/View/Popup/Compose.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev/View/Popup/Compose.js b/dev/View/Popup/Compose.js index 465955c61..04cd423fc 100644 --- a/dev/View/Popup/Compose.js +++ b/dev/View/Popup/Compose.js @@ -487,7 +487,11 @@ export class ComposePopupView extends AbstractViewPopup { if (iError) { if (Notifications.CantSaveMessage === iError) { this.sendSuccessButSaveError(true); - this.savedErrorDesc(i18n('COMPOSE/SAVED_ERROR_ON_SEND').trim()); + let msg = i18n('COMPOSE/SAVED_ERROR_ON_SEND'); + if (data?.ErrorMessageAdditional) { + msg = msg + "\n" + data?.ErrorMessageAdditional; + } + this.savedErrorDesc(msg); } else { this.sendError(true); this.sendErrorDesc(getNotification(iError, data?.ErrorMessage)