[pmg-devel] [PATCH pmg-gui] quarantine: mail display: show receiver information

Stoiko Ivanov s.ivanov at proxmox.com
Thu Jan 20 18:37:10 CET 2022


Showing the sender and subject is sufficient in the case of the
spam-quarantine - when viewed by a single user.

If an admin views any of the quarantines the information of the
recipient should be helpful in general, but is needed in case a mail
was sent to multiple recipients.

Reported in our community forum:
https://forum.proxmox.com/threads/.103276/

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 js/MailInfo.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/js/MailInfo.js b/js/MailInfo.js
index 89cc78c..64a7439 100644
--- a/js/MailInfo.js
+++ b/js/MailInfo.js
@@ -30,5 +30,6 @@ Ext.define('PMG.MailInfoBox', {
     items: [
 	{ tpl: `<b class="bold">${gettext("From")}:</b> {from}` },
 	{ tpl: `<b class="bold">${gettext("Subject")}:</b> {subject}` },
+	{ tpl: `<b class="bold">${gettext("Recipient")}:</b> {receiver}` },
     ],
 });
-- 
2.30.2





More information about the pmg-devel mailing list