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

Multiple mail client support for Play Java #133

Open
ajkamath opened this issue Aug 2, 2017 · 2 comments
Open

Multiple mail client support for Play Java #133

ajkamath opened this issue Aug 2, 2017 · 2 comments

Comments

@ajkamath
Copy link

ajkamath commented Aug 2, 2017

I am not able to add multiple mail client either from configuration or by instantiating in Play Java.

@ggrossetie
Copy link
Member

Could you please be more specific ? If you convert the following Scala code into Java code it should work fine:

val email = Email("Simple email", "Mister FROM <[email protected]>")
new SMTPMailer(SMTPConfiguration("typesafe.org", 1234)).send(email)
new SMTPMailer(SMTPConfiguration("playframework.com", 5678)).send(email)

@ggrossetie
Copy link
Member

@ajkamath ping ?

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

3 participants