зеркало из https://github.com/mozilla/pjs.git
Bug #178820 --> return-receipt-to not recognized with IMAP mailbox
Porting trunk fix.
This commit is contained in:
Родитель
3c100eba70
Коммит
79825d8dad
|
@ -2342,8 +2342,8 @@ function HandleMDNResponse(aUrl)
|
|||
if ((msgFlags & MSG_FLAG_IMAP_DELETED) || (msgFlags & MSG_FLAG_MDN_REPORT_SENT))
|
||||
return;
|
||||
|
||||
var DNTHeader = mimeHdr.extractHeader("Disposition-Notification-To", false);
|
||||
if (!DNTHeader)
|
||||
var oldDNTHeader = mimeHdr.extractHeader("Return-Receipt-To", false);
|
||||
if (!DNTHeader && !oldDNTHeader)
|
||||
return;
|
||||
|
||||
// Everything looks good so far, let's generate the MDN response.
|
||||
|
|
Загрузка…
Ссылка в новой задаче