Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quarkus Mailer - support multiple replyTo Addresses #17308

Closed
Postremus opened this issue May 18, 2021 · 1 comment · Fixed by #17321
Closed

Quarkus Mailer - support multiple replyTo Addresses #17308

Postremus opened this issue May 18, 2021 · 1 comment · Fixed by #17321
Labels
area/mailer kind/enhancement New feature or request
Milestone

Comments

@Postremus
Copy link
Member

Description

https://github.com/quarkusio/quarkus/blob/main/extensions/mailer/runtime/src/main/java/io/quarkus/mailer/Mail.java#L20

The current Mail implementation only supports one replyTo Address. This should be enhanced to support a list of replyTo Addresses, like it is done for CC / BCC.

https://datatracker.ietf.org/doc/html/rfc5322#section-3.6.2

In either case, an optional reply-to field MAY also be included, which contains the field name "Reply-To" and a comma-separated list of one or more addresses.

Implementation ideas

None

@quarkus-bot
Copy link

quarkus-bot bot commented May 18, 2021

/cc @cescoffier

cescoffier added a commit to cescoffier/quarkus that referenced this issue May 18, 2021
This change to not break the API. The only difference is if you pass multiple reply-to address, the getReplyTo will get a comma-separated list (as indicated by the RFC).

Fix quarkusio#17308
cescoffier added a commit to cescoffier/quarkus that referenced this issue May 19, 2021
This change to not break the API. The only difference is if you pass multiple reply-to address, the getReplyTo will get a comma-separated list (as indicated by the RFC).

Fix quarkusio#17308
@quarkus-bot quarkus-bot bot added this to the 2.0 - main milestone May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mailer kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants