What steps will reproduce the problem?
1.Create a new email with two receipts. The two receipts are in the same
domain. Receipt A is valid and receipt B is invalid.
2.Send the email
What is the expected output? What do you see instead?
The expected output is: A received notification comes in for receipt A and a
"Message Vanished" notification comes in for receipt B.
What I saw is: .A received notification comes in for receipt A. A "Message
Vanished" notification comes in for both receipt A and B. And then tons of
"Message Vanished" notifications come in for receipt B. And we should not add
"Message Vanished" notification for receipt A since the email has been
delivered successfully.
What version of the product are you using? On what operating system?
I build direct-msg-monitor-1.2-SNAPSHOT.jar on mac.
Please provide any additional information below.
The notifications are added in addNotificationForMonitorGeneratedDSN. Since the
msgId is different each time, so we add the notification each time we get a DSN.
final String addMsgId = origMsgId.getDetailValue() + "\t" +
msgId.getDetailValue();
dao.addNotification(addMsgId, normalizedFinalRecip);