bbottema/simple-java-mail

Support multiple delimited recipient addresses sharing the same TO/CC/BCC name

bbottema opened this issue · 1 comments

The API to(@Nullable final String name, @Nonnull final String address) should be able to handle comma or semicolon separated address for the same To name. This can be useful when mailing a group of users while addressing them as a group in case they don't have a separate dedicated group mail they can subscribe to:

to("Maintenance group", "john@abc.com;richard@abc.com;john@alice.abc.com")

Same goes for cc() and bcc().

Released in 4.3.0.