tmail-flutter
tmail-flutter copied to clipboard
[Story] As a receiver, I want to send a read receipt when asked by the sender (confirmation button)
Summary
- Related EPIC
- Definition
- Screenshots
- Misc
Related EPIC
- TODO: {link}
Definition
- Given that I am a Tmail user and I received an email that request a read receipt
- After logged-in successfully, I go to Inbox
- I open that email and see a popup message: "[Sender] has asked to be notified when you read this message" with 2 buttons "Send receipt" and "Ignore request"
- I select option "Send receipt", then an notification email will be sent to the sender. When I open this email the next time, the popup will not prompt again.
- If I select option "Ignore", then the popup is closed. When I open this email the next time, the popup will prompt again.
Back to Summary
Screenshots
Back to Summary
Misc
None
Back to Summary
Dev
- If a received email
(not in sent mailbox)
hasDisposition-Notification-To
header and no$mdnsent
keyword then show popup message - Use
MDN/send
method injmap_dart_client
to send a read receipt when asked by the sender Ex: Request
[
[
"MDN/send",
{
"accountId": "ue150411c",
"identityId": "I64588216",
"send": {
"k1546": {
"forEmailId": "Md45b47b4877521042cec0938",
"subject": "Read receipt for: World domination",
"textBody": "This receipt shows that the email",
"reportingUA": "joes-pc.cs.example.com; Foomail 97.1",
"disposition": {
"actionMode": "manual-action",
"sendingMode": "mdn-sent-manually",
"type": "displayed"
},
"extension": {
"EXTENSION-EXAMPLE": "example.com"
}
}
},
"onSuccessUpdateEmail": {
"#k1546": {
"keywords/$mdnsent": true
}
}
},
"0"
]
]
Refers
- Docs RFC9007
Hey team! Please add your planning poker estimate with Zenhub @sherlockvn @hoangdat @ManhNTX
2 HD
1 HD