02-18-2014 01:34 PM
Nowhere do I see send email to users and email alerts are not working, is there a way to test if email is working?
I read the documentation and changed the settings in Admin Center | System Information| Setup to no avail... I don't have a send mail next to print.
Is there a way to test a email connections?
I get the following error:
WARN [Nuxeo-Work-default-1] [org.nuxeo.ecm.platform.ec.notification.NotificationEventListener] Failed to send notification email to 'daniel.d.mendes@icreateconsulting.com': javax.mail.MessagingException: Could not connect to SMTP host: cphost3.rackspot.net, port: 465, response: 421
These are the same settings that I have used in dozens of places including in stuff like alfresco, etc... Here are my settings:
### BEGIN - DO NOT EDIT BETWEEN BEGIN AND END ### Tue Feb 18 19:59:31 GMT 2014
#mail.debug=false mail.debug=true
#mail.transport.auth=false mail.transport.auth=true
#mail.transport.host=localhost mail.transport.host=cphost3.rackspot.net
#mail.transport.password=secret mail.transport.password=****
#mail.transport.port=25 mail.transport.port=465
#mail.transport.user=anonymous mail.transport.user=daniel.d.mendes@icreateconsulting.com
#mail.transport.usetls=false mail.transport.usetls=true
#nuxeo.bind.address=0.0.0.0 nuxeo.bind.address=127.0.0.1
#nuxeo.url=http://localhost:8080/nuxeo nuxeo.url=http://localhost:8088/nuxeo
#org.nuxeo.dev= org.nuxeo.dev=false
#server.status.key= server.status.key=79c10050
### END - DO NOT EDIT BETWEEN BEGIN AND END ###
I also tried to use gmail settings but that did not work either... I am now installing an SMTP server to see if it's a firewall issue, but that seems unlikely since the same seetings work on other systems.
Right now this is the only thing stopping us from useing nuxeo 😞
03-14-2014 03:45 PM
You can try to run the unit tests in module nuxeo-features/nuxeo-platform-mail/nuxeo-platform-mail-core
, then customize them to match your parameters. It will be easier to setup and debug, and faster, than playing with the server. At least, you should be able to reproduce your issue in a unit test.
We do have functional and integration tests on the mail feature, playing with mail.transport.port
, mail.transport.host
, mail.transport.protocol
, mail.transport.usetls
, mail.transport.auth
, mail.transport.user
and mail.transport.password
properties, as far as I know they work fine. However, there are sometimes some tricky configuration (TLS, AUTH, ...) with custom servers, or even Google mail.
If you want to setup such a high-level test, look at the nuxeo-distribution/nuxeo-distribution-dm/ftest
module and setup environment properties (MAIL_TRANSPORT_HOST
, MAIL_TRANSPORT_PORT
, MAIL_TRANSPORT_PROTOCOL
, MAIL_TRANSPORT_USETLS
, MAIL_TRANSPORT_AUTH
, MAIL_TRANSPORT_USER
and MAIL_TRANSPORT_PASSWORD
) to get the tested server being automatically configured.
03-18-2014 05:17 PM
Julien,
03-18-2014 05:39 PM
Please be careful when including such network traces. It included your password in base64. I redacted it but on the off-chance that someone saw it or sees it in some archive you should change it.
03-18-2014 07:21 PM
I will change it... Thanks.
03-18-2014 05:44 PM
The error includes:
Could not connect to SMTP host: cphost3.rackspot.net, port: 465, response: 421
SMTP error 421 is "Try again later" which may be due to server overload or too many connections (typically) open from your host.
03-18-2014 07:22 PM
I actually figured it out. Ill write up the anwser later. Thanks!
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.