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

How can I send message to several emails? #16

Open
oleonov opened this issue Apr 22, 2016 · 1 comment
Open

How can I send message to several emails? #16

oleonov opened this issue Apr 22, 2016 · 1 comment

Comments

@oleonov
Copy link

oleonov commented Apr 22, 2016

How can I send message to several emails?
Should I create several BackgroundMail.Builder and call send() several times?

@GauravG8
Copy link

GauravG8 commented Jun 9, 2016

If you want to send the same message to multiple emails, then just add he mail with ".withMailto()". You can either separate the emails with a comma(,) or add additional mails in separate ".withMailto()".
BackgroundMail.newBuilder(context). withMailto(email1+","+email2)...
(OR)
BackgroundMail.newBuilder(context). withMailto(email1).withMailto(email2)...

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

No branches or pull requests

2 participants