AnsweredAssumed Answered

folder rule send mail failure

Question asked by luria on Jun 27, 2014
Latest reply on Jun 27, 2014 by luria
Hi there.

I'm using Alfresco Comunity 4.2.f fresh new install, no addons.

If I create (as said in http://docs.alfresco.com/4.0/concepts/email-outboundsmtp-props.html) the outbound smtp section as follows:



# Gmail SMTP settings
mail.host=smtp.gmail.com
mail.port=465
mail.username=*@gmail.com
mail.password=***********
mail.protocol=smtps
mail.smtps.starttls.enable=true
mail.smtps.auth=true


mail.testmessage.send=true
mail.testmessage.to=*@gmail.com
mail.testmessage.subject=Alfresco Outbound SMTP


And it works. I receive the test mail and all.

Then I want to create a folder rule to send an email to a user when contents of folder are updated. When I try to save the rule, it fails with this code:


05270002 Wrapped Exception (with status template): Error creating bean with name 'mail' defined in file [/opt/alfresco-4.2.f/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/email/OutboundSMTP/outboundSMTP-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 05270001 email.outbound.err.send.failed


Weird thing is, if first I create the rule and then I setup the smtp mail config, the exact same error is thrown when I try to upload or create a file in that folder!

I've searched this exact error without no luck so far. Tried in windows and linux machines both fresh alfresco install. Tried also with admin and other users both creating rules and folders…

Any ideas? Thanks!

Outcomes