Email « playframework « Java Enterprise Q&A

1. Attachment + Email + HTML + Play Framework

I'm using play framework in this project and I'm trying to send an E-mail with a Logo attached but I want to show this logo as part of my HTML code! My ...

2. Sending emails from local host - Play Framework

Does anybody know the smtp settings that need to be applied within the application.conf file of a Play Framework project for sending emails on localhost? During my unit testing I am getting ...

3. Catch MailException

Is it possible to catch a MailException when sending an e-mail? I want to catch it in scenarios like mail server is down, malformed e-mail address, etc. I see the MailException in the ...

4. Send mail in Heroku using SendGrid

I'm trying to send an email using Play Framework and SendGrid in Heroku. I set the configuration (Application.conf) as follows:

but I get this exception:
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]

5. How do I point to the public images directory in a Play! Framework HTML email

In a Play! Framework app :- Trying to render an image from the public images folder in an HTML email. I've set

in the application.conf, then in my email view template, I've ...