org.nhindirect.stagent.mail.notifications.NotificationHelper.shouldIssueNotification(Message)
as of version 1.1.
The Direct Project model infers that a notification message should be sent regardless if
a notification request is requested. The gateway agent model should now determine whether or not to send a notification
based on the following criteria:
1) A preference in the gateway indicates that the agent/gateway should send notifications.
2) This message is not a MDN messages. This can be determined by calling NotificationHelper.isMDN(Message). |