tmail-flutter icon indicating copy to clipboard operation
tmail-flutter copied to clipboard

[Story] As a receiver, I want to send a read receipt when asked by the sender (confirmation button)

Open dieptran88 opened this issue 2 years ago • 4 comments

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

image.png

Back to Summary

Misc

None

Back to Summary

dieptran88 avatar Jun 15 '22 04:06 dieptran88

Dev

  • If a received email (not in sent mailbox) has Disposition-Notification-To header and no $mdnsent keyword then show popup message
  • Use MDN/send method in jmap_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

dab246 avatar Aug 24 '22 09:08 dab246

Hey team! Please add your planning poker estimate with Zenhub @sherlockvn @hoangdat @ManhNTX

dab246 avatar Oct 17 '22 07:10 dab246

2 HD

dab246 avatar Oct 20 '22 03:10 dab246

1 HD

dab246 avatar Oct 21 '22 02:10 dab246