Hello,
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,
Gérald
I found the solution by myself in
http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html
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