You are here: Mozilla MailNews Functional / UI Tests > Return Receipt
Feature Test Spec: Mail and News Component
Mail and News Component: Return Receipt
Written by Peter MockUpdated by Fenella Gor and Gary Chan
References
5.0 Seamonkey:
Test case Management System: n/a
This feature designed for Mail messages only and not designed for News messages. We can loosely describe MDN as a read receipt but this feature contain additional functionality.
Description of feature from RFC: The MDN can be used to notify the sender of a message of any of several conditions that may occur after successful delivery, such as display of the message contents, printing of the message, deletion (without display) of the message, or the recipient's refusal to provide MDNs.
The difference between a Return Receipt in Communicator 4.0 and a MDN in 5.0 is that a Return Receipt is generated from the Messenger Server and a MDN is generated from the client. A MDN is a short header returned and the original message is not attached to the MDN replied. The sender can "request" that a MDN message to be returned from the recipient. But the recipients has the option to send or ignore sending a MDN back to the sender.
MDN is only currently being supported. Read receipts notify you that the recipient has opened your message. The recipient must have a mail program that uses the Message Disposition Notification (MDN) standard. DSN (Delivery Service Notification) is not being supported. DSN are delivery receipts that notify you that your message has arrived in the recipient's inbox on the mail server
New feature is the ability to set your MDN prefs globally or per mail account.
Notation: UA stands for User Agent
MDN stands for Message Disposition Notification
Pre setup information: Majority of tests will be performed in the Inbox folder.
- Core MDN feature for Mails:
-
Global Preferences
(Preferences|Mail&Newsgroups|Return Receipts)
- Default settings (Return receipts are off)
- Unchecked: When Sending messages, always request a return receipt
- When a receipt arrives - Leave it in my inbox radio button is filled
- Allow return receipts for some messages
- UI
- Text is clear
- Spelling
- Text format within allotted space in panel
- Option(s) enable/disable appropriately
- Options stick through exit
- Cancel doesn't edit options
- Default settings (Return receipts are off)
-
Account Preferences
- Default settings
- Set to - Use my global return receipt preferences for this account.
- The rest of the prefs should be unchecked/grayed out
- If you change the pref to - Customize return receipts for this account - it should enable all checkboxes, comboboxes, and radio buttons for that particular account. And the radio button for global setting should disappear
- toggling between the global/customize radio buttons should have no adverse affects
- UI
- Text is clear
- Spelling
- Text format within allotted space in panel
- Option(s) enable/disable appropriately
- Options stick through exit
- Cancel doesn't edit options
- Default settings
-
Sender:
- Verify for both Global & Account based prefs, that if
you check the pref 'When sending messages, always request a
return receipt'
- A return receipt request is sent to the receiver
- In the compose message window, the file menu item: Options|Return Receipt is checked
- If the pref 'When sending messages, always request a return receipt', in the Global or Account pref, is unchecked, then the compose mesg window file menu item: Options|Return Receipt is unchecked
- Verify you can override either the Global or Account settings for requesting a return receipt by checking/unchecking the file menu in the compose mesg window: Options|Return Receipt
- Verify checking the pref for "When a Receipt arrives":
- Leave it in my Inbox- return receipt arrives in your inbox
- Move it to my Sent Mail Folder - return receipt arrives
in your sent folder
- Subset test is if the Sent folder is Under your main account or under Local Folders (currently a bug with Sent folder under Local Folders)
- Compose mesg
- Verify Return receipts work with HTML Compose window
- Verify Return receipts work with Plain Text Compose window
- Verify Return receipts work with an attachment
- Type of Mail messages to send
- New Message (MDN is assumed to be sent to original sender)
- Replied
- Forwarded: Verify that when you forward an original
message as attachment (the message contained a return
receipt header) , the recipient, upon reading the message
(based on their prefs), doesn't get prompted for return
receipts (default). Check the 2 cases below:
- In the compose window, check Options | Return Receipt and forward the message. Verify that when the recipient selects the message, and if they acknowledge and send the receipt, that the sender (you) receives a copy of the Return Receipt notification.
- In the compose window, make sure Options | Return Receipt is unchecked and forward the message. Verify that when the recipient selects the message, they don't receive any prompt to acknowledge, and nobody receives and Return Receipt notifications.
- Verify that you can override any Global Return receipt pref settings when you do Customize return receipts for this account
- Sender requesting a MDN has the following characteristics
- Message ID is different from original message.
- MDN is NOT encrypted if the original message was encrypted.
- A MDN is sent even if you send yourself a message
- One MDN is sent per message
- Sender will receive a MDN from each platform where the receiver reads the message.
- Verify for both Global & Account based prefs, that if
you check the pref 'When sending messages, always request a
return receipt'
-
Receiver:
- Receiver: verify that the type of message sent is correctly
displayed in the Returned Receipt.
- HTML message
- Plain Text message
- Both HTML & Plain Text message
- Verify for Global prefs, Receiver selects the options from
Preferences|Mail&Newsgroups|Return Receipt and verifies
that each of the options works according to your selections.
- "When I receive a request for a return receipt "
- Never send a receipt
- Allow Return receipts for some messages
- Customizing return receipts
- Send a return receipt (if I'm not in the To or CC
list of the message (such as when I am in the mailing
list alias only)):
- Never Send
- Automatically Send
- Ask me
- Send a return receipt (If the sender is outside my
domain [ex. netscape.com])
- Never Send
- Automatically Send
- Ask me
- Send a return receipt (in all other cases)
- Never Send
- Automatically Send
- Ask me
- Send a return receipt (if I'm not in the To or CC
list of the message (such as when I am in the mailing
list alias only)):
- When you have received a message with a Return Receipt
and you click on it
- Verify, if you have pref to "ask me", that the
confirmation window
- "The sender of this message has asked to be notified when you read this message. Do you wish to notify this sender?"
- text is clear and spelled correctly
- click "ok button" sends the return receipt
- click "cancel button" doesn't send a return receipt back
- Verify, if you have pref to "ask me", that the
confirmation window
- "When I receive a request for a return receipt "
- Verify for Account based prefs, Receiver selects the
options from Mail &Newsgroup Account settings|Return
Receipt and verifies that each of the options works according
to your selections.
- "When I receive a request for a return receipt "
- Never send a receipt
- Allow Return receipts for some messages
- Customizing return receipts
- Send a return receipt (if I'm not in the To or CC
list of the message (such as when I am in the mailing
list alias only)):
- Never Send
- Automatically Send
- Ask me
- Send a return receipt (If the sender is outside my
domain [ex. netscape.com])
- Never Send
- Automatically Send
- Ask me
- Send a return receipt (in all other cases)
- Never Send
- Automatically Send
- Ask me
- Send a return receipt (if I'm not in the To or CC
list of the message (such as when I am in the mailing
list alias only)):
- When you have received a message with a Return Receipt
and you click on it
- Verify, if you have pref to "ask me", that the
confirmation window
- "The sender of this message has asked to be notified when you read this message. "Do you wish to notify this sender?"
- text is clear and spelled correctly
- click "ok button" sends the return receipt
- click "cancel button" doesn't send a return receipt back
- Verify, if you have pref to "ask me", that the
confirmation window
- Verify that you can override any Global return receipt pref settings when you do 'Customize return receipts for this account'.
- "When I receive a request for a return receipt "
- When receiver receives the message, a MDN message will
trigger a MDN to be sent to the sender when:
- Receiver reads the message with the Message pane open
- Receive a message with a Return Receipt, in the 3 pane
window, with the message pane closed (3rd pane)
- verify that you will not be prompted for a return receipt if you click on the message in the thread pane
- verify you will be prompted for a return receipt if you, double click on the message (while mesg pane still closed) and open it in a new window
- verify you will be prompted for a return receipt if you, reopen the message pane, and click on the message in the thread pane
- Receiver: verify that the type of message sent is correctly
displayed in the Returned Receipt.
-
Verifying MDN message:
- Verify that when the Return Receipt message is sent back to
the sender
- Subject line contains: Return Receipt (Displayed) - <original subject line>
- Verify both in the message and the message source the
following:
- The first component of the multipart/report contains a human-readable explanation of the MDN. The general disclaimer that the mesg was displayed on the recipient's computer but not necessarily understood
- The second component of the multipart/report is of content-type message/disposition-notification. This includes user agent string and the following: "Disposition: manual-action/MDN-sent-manually; displayed"
- The third component of the multipart/report would be the original message or portion of the original message. In our case, the original header of the message. Also included is the "Disposition-Notification-To:" header.
- There are 2 additional attachments in the Return
Receipt message:
- MDNPart2.txt - 2nd component of the Return Receipt
- MDNPart3.txt - 3rd component of the Return Receipt
- Note: Known bug that clicking on those attachments doesn't result in them opening.
- Use the View|Page Source to verify a
MDN message the correct message/disposition-notification
content-type, Original-Recipient field, and error state.
- Type of MDN ( The type depends on
what the user did with the message.)
- Displayed (The message has been displayed by the UA to someone reading the recipient's mailbox. There is no guarantee that the content has been read or understood.)
- Dispatched (The message has been sent somewhere manner (e.g., printed, faxed, forwarded) without being displayed to the user. The user may or may not see the message later.)
- Processed (The message has been processed in some manner (i.e., by some sort of rules or server) without being displayed to the user. The user may or may not see the message later, or there may not even be a human user associated with the mailbox.)
- Deleted (The message has been deleted. The recipient may or may not have seen the message. The recipient might "undelete" the message at a later time and read the message.)
- Denied (The recipient does not wish the sender to be informed of the message's disposition. A UA may also silently ignore message disposition requests in this situation.)
- Failed (A failure occurred that prevented the proper generation of an MDN.)
- MDN disposition modes
- Manual-action/MDN-sent-manually
- Automatic action/MDN-sent-automatically
- Type of MDN ( The type depends on
what the user did with the message.)
- Security
- Requesting for MDN for a signed message
- Requesting for MDN for a encrypted message
- Requesting for MDN for a signed and encrypted message
- Verify that when the Return Receipt message is sent back to
the sender
- Different Mail accounts
- Test both sending and receiving a return receipt with/from
- imap mail account
- pop mail account
- Test both sending and receiving a return receipt with/from
- Filters
- Verify Return receipts work for filtered messages
- Mail Lists/Alias
- Verify Return Receipts works for
- Mail lists in your addressbook
- Aliases
- Verify Return Receipts works for
-
Global Preferences
(Preferences|Mail&Newsgroups|Return Receipts)
- Core MDN feature for News:
- Setting for requesting for a Return Receipt
(from Edit|Preferences|Return Receipt):
- DSN (A delivery receipt from the mail server, previous return receipt feature)
- MDN (A read receipt, notify me when recipients display the message)
- Both DSN and MDN
- And verify that:
- you will expect a return receipt (DSN) from the server
- you will not expect a MDN from the client
- Setting for requesting for a Return Receipt
(from Edit|Preferences|Return Receipt):
- Core DSN feature both Mail and News:
- Select each of the following options from
the Edit|Preferences|Return Receipt and send out a mail/news
message:
- DSN (A delivery receipt from the mail server, previous return receipt feature)
- Both DSN and MDN
- Verifying DSN message
- You will receive a Delivery receipt from the receiving server. (eg: Mail Administrator<Postmaster@dredd.mcom.com)> with the following message: This Message was delivered to the following recipients: Mailbox userid
- Check for server MTA(message transfer agent) information, sender and receiver id as well as content type.
- Select each of the following options from
the Edit|Preferences|Return Receipt and send out a mail/news
message:
- Inter Operability
- Cross platform testing with other Communicator 4.x builds
- Testing 3rd party application that support MDN
- Eudora 4.0
- Outlook