Which properties should I put the mail-service.xml to tell JavaMail to use a specific login/password to access my SMTP server?
It must be a simple question, but I can not find the solution by myself,
Thanks for your help,
I found the solution by myself in
Properties to set in mail-service.xml:
mail.smtp.host=smtp.mydomain.com mail.smtp.user=mylogin mail.smtp.password=mypassword mail.smtp.auth=true