Feature: read receipts (MDN, RFC 8098)
Bulwark had no read-receipt support (JMAP/Stalwart have no native MDN). End-to-end, client-side, in three parts: - Request (compose): a toolbar toggle (MailCheck, green when on) sets Disposition-Notification-To on the outgoing message via the JMAP "header:<name>:asText" create property. Threaded composer -> page -> email-store -> client.sendEmail. Default from requestReadReceiptDefault. - Detect (viewer): reads Disposition-Notification-To case-insensitively from the parsed headers and shows a banner (green Send / red Ignore) in the unified notification bar. Hidden in Sent/Drafts/Trash/Junk and once handled. message/disposition-notification + message/delivery-status report parts are filtered out of the attachment list. - Respond (MDN): lib/mdn.ts builds an RFC 8098 multipart/report (text/plain + message/disposition-notification, UTF-8/base64, localized subject + body). client.sendReadReceipt uploads the blob, imports it into Sent via Email/import, then submits with an explicit envelope. Both Send and Ignore set the $MDNSent keyword (RFC 3503) so no client re-prompts. Behaviour configurable: ask / always / never. New: lib/mdn.ts, read-receipt-banner.tsx. Settings (requestReadReceiptDefault, readReceiptResponse) + UI. All 17 locales.
This commit is contained in:
@@ -260,6 +260,15 @@
|
||||
"reschedule_prompt": "Введите новую дату/время, например 2026-05-04T15:30"
|
||||
},
|
||||
"email_viewer": {
|
||||
"read_receipt": {
|
||||
"prompt": "Отправитель запрашивает уведомление о прочтении:",
|
||||
"send": "Отправить уведомление",
|
||||
"ignore": "Игнорировать",
|
||||
"sent": "Уведомление о прочтении отправлено.",
|
||||
"send_failed": "Не удалось отправить уведомление о прочтении",
|
||||
"mdn_subject": "Прочитано: {subject}",
|
||||
"mdn_body": "Это уведомление о прочтении сообщения, отправленного вами на адрес {recipient}.\n\nПримечание: это уведомление лишь подтверждает, что сообщение было показано на компьютере получателя. Оно не гарантирует, что получатель прочитал или понял содержимое."
|
||||
},
|
||||
"no_email_selected": "Письмо не выбрано",
|
||||
"no_email_description": "Выберите письмо из списка, чтобы просмотреть его здесь",
|
||||
"no_conversation_selected": "Беседа не выбрана",
|
||||
@@ -545,6 +554,8 @@
|
||||
"undo_send": "Отменить отправку"
|
||||
},
|
||||
"email_composer": {
|
||||
"read_receipt_on": "Запрошено уведомление о прочтении (нажмите, чтобы отключить)",
|
||||
"read_receipt_off": "Запросить уведомление о прочтении",
|
||||
"new_message": "Новое письмо",
|
||||
"reply": "Ответить",
|
||||
"reply_all": "Ответить всем",
|
||||
@@ -1006,6 +1017,17 @@
|
||||
}
|
||||
},
|
||||
"email_behavior": {
|
||||
"request_read_receipt": {
|
||||
"label": "Запрашивать уведомления о прочтении по умолчанию",
|
||||
"description": "Заранее включать запрос уведомления о прочтении при создании нового сообщения."
|
||||
},
|
||||
"read_receipt_response": {
|
||||
"label": "Отвечать на запросы уведомления о прочтении",
|
||||
"description": "Что делать, когда входящее сообщение запрашивает уведомление о прочтении.",
|
||||
"ask": "Спрашивать каждый раз",
|
||||
"always": "Всегда отправлять",
|
||||
"never": "Никогда не отправлять"
|
||||
},
|
||||
"title": "Поведение почты",
|
||||
"description": "Настройте обработку писем",
|
||||
"mark_read": {
|
||||
|
||||
Reference in New Issue
Block a user