mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
Small change to show why saving message to Sent mailbox failed #1397
This commit is contained in:
parent
29f6b2b743
commit
443a6df070
1 changed files with 5 additions and 1 deletions
|
|
@ -487,7 +487,11 @@ export class ComposePopupView extends AbstractViewPopup {
|
||||||
if (iError) {
|
if (iError) {
|
||||||
if (Notifications.CantSaveMessage === iError) {
|
if (Notifications.CantSaveMessage === iError) {
|
||||||
this.sendSuccessButSaveError(true);
|
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 {
|
} else {
|
||||||
this.sendError(true);
|
this.sendError(true);
|
||||||
this.sendErrorDesc(getNotification(iError, data?.ErrorMessage)
|
this.sendErrorDesc(getNotification(iError, data?.ErrorMessage)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue