jakartaee / jakartaee/mail-api

Allow Requesting different Delivery Status Notifications per recipient

Open
#58 5 comments 0 reactions 1 assignee Claimed by @bshannon View on GitHub
Component: smtp enhancement Priority: P5
Dominant language
Java
Stars
285
Forks
109
Avg merge
15h 19m
Merged PRs (30d)
1

Description

Java Mail API doesn't provide a way to request "different DSN(Delivery Status Notification)s per-recipient" as explained by RFC1891. There is SMTPMessage.setNotifyOptions(int options) but it applies to all recipients in the message.

Suggested workaround is sending multiple 'copies' of the message with a single recipient and desired DSN for that recipient. This is inconvenient because:
- Number of recipients and/or message size may be considerably high
- Sending multiple messages will create different instances (with different Message-IDs) that will be harder to track (mainly for administration purposes on server and client)

Requested enhancement is to allow specifying DSN for each recipient.

Please see:
https://forums.oracle.com/forums/thread.jspa?threadID=2493438&tstart=0
#### Affected Versions
1.4.5
#### Environment
All
All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.