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

New Feature: More robust support for adding collections of recipients #69

Closed
bbottema opened this issue Mar 11, 2017 · 2 comments
Closed

Comments

@bbottema
Copy link
Owner

Currently the EmailBuilder does not support adding a list of recipients either as collection of Recipient or as comma/semicolon separated list of address.

Also the from and replyTo builder methods should support whole Recipient objects instead of just name and email address.

@bbottema bbottema added this to the 4.2.1 milestone Mar 11, 2017
@bbottema bbottema self-assigned this Mar 11, 2017
bbottema referenced this issue Mar 11, 2017
- more rigorous checks for missing names when embedding images
- added more convenience methods for adding multiple to's, cc's or bcc's with the EmailBuilder
- added lots of @nullable and @nonnull hint annotations
- added a bunch of unit tests
@bbottema
Copy link
Owner Author

bbottema commented Mar 12, 2017

Added API:

Email email = new EmailBuilder()
   .to("to1@candyshop.org;to2@candyshop.org,to3@candyshop.org")
   .cc("cc1@candyshop.org;cc2@candyshop.org,cc3@candyshop.org")
   .bcc("bcc1@candyshop.org;bcc2@candyshop.org,bcc3@candyshop.org")
   .build();

One or more addresses without names allowed separated by comma or semicolon. Similar addition for 1 from and replyTo (but for single only addresses).

@bbottema
Copy link
Owner Author

Released in v4.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant