send an email using play
I am trying to use Mail (play.libs.Mail)
In my application.conf I have added:
mail.smtp.host=xxx
mail.smtp.port=23
It seems the parameter mail.smtp.port is not used as I get the error below. The port 25 is used instead of the port 23. What can I do?
A mail error occured : Error while sending email
play.exceptions
at play.libs.
Caused by: javax.mail.
nested exception is:
java.net.
at com.sun.
at com.sun.
at javax.mail.
at javax.mail.
at play.libs.
Caused by: java.net.
at java.net.
at java.net.
at java.net.
at java.net.
at java.net.
at java.net.
at java.net.
at com.sun.
at com.sun.
at com.sun.
... 4 more
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Jean-Francois POUX
- Solved:
- Last query:
- Last reply: