Email notification

Hello ! I'm trying to configure the email notifications, and i'm going crazy something doesn't work. This should be so easy … Here is an extract of nuxeo.conf (I've put the right credentials).

##-----------------------------------------------------------------------------
## Mail settings (for notifications)
##-----------------------------------------------------------------------------
nuxeo.notification.eMailSubjectPrefix="[Nuxeo] OUI"

mail.transport.protocol=smtp
mail.transport.host=ssl0.ovh.net
mail.transport.port=465
mail.transport.usetls=true

mail.transport.auth=true
mail.transport.user=Myemail@domain.com
mail.transport.password=password

mail.from=theEmailFrom@domain.com

#mailservice.user=
#mailservice.password=
#mail.store.protocol=pop3
#mail.user=
#mail.pop3.host=ssl0.ovh.net

mail.debug=true

The console send my back error -1 :

2017-08-21 16:20:27,365 WARN  [Nuxeo-Work-default-4:11039496029894.1986187325] [org.nuxeo.ecm.platform.ec.notification.NotificationEventListener] Failed to send notification email to 't.elaidy@lespetitsdebrouillards-idf.org': javax.mail.MessagingException: Could not connect to SMTP host: ssl0.ovh.net, port: 465, response: -1

Does somebody can help me (I'm so confuse beceause it seems so easy …) ? Thanks

0 votes

1 answers

332 views

ANSWER



Hello, With OVH email configuration, you have to use port 587 instead of 465. Have a good day

0 votes