08-08-2018 03:13 AM
Hi
i have installed Alfresco Content Services Community: 6.0.2-ea i am trying to configure inbound and outbound email even though i have updated it correctly i am getting the below error
07080007 Wrapped Exception (with status template): Error creating bean with name 'mail' defined in URL [jar:file:/opt/alfresco-content-services-community-full/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-6.26.jar!/alfresco/subsystems/email/OutboundSMTP/outboundSMTP-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 07080018 Failed to send email to:vikas@XYZ.com
settings is as mentioned below
mail.host=smtp.gmail.com
mail.port=587
mail.username=content@XYZ
mail.password=1234
mail.protocol=smtps
mail.smtps.starttls.enable=true
mail.smtps.auth=true
#mail.encoding=UTF-8
#mail.from.default=
mail.smtp.auth=true
can anyone please help me rectifying this issues
08-09-2018 01:21 PM
Hello Vikas,
Can you use 465 as port and not 587
mail.smtp.auth=true should be mail.smtps.auth=true
=================================================
Also you can try once with smtp - then you can use 587 as port
mail.host=smtp.gmail.com
mail.port=587
mail.username=content@XYZ
mail.password=1234
mail.protocol=smtp
mail.smtp.starttls.enable=true
mail.smtp.auth=true
Check if this works for you. Thanks!
08-10-2018 02:07 AM
thanks bro
09-18-2024 11:20 AM
Hi there,
So I am also experiencing a similar issue and your suggestion was not able to fix my error:
08180002 Wrapped Exception (with status template): Error creating bean with name 'mail' defined in URL [jar:file:/C:/alfresco/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-17.183.jar!/alfresco/subsystems/email/OutboundSMTP/outboundSMTP-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: 08180038 Failed to send email to:kreethram27@gmail.com
I have ACS installed on my local (v7.0.0.3) and my alfresco-global.properties files are as follows:
# Outbound Email Configuration
#-------------
mail.host=smtp.gmail.com
mail.port=587
mail.username=kreethram27@gmail.com
mail.password=password
mail.protocol=smtps
mail.encoding=UTF-8
mail.from.default=kreethram27@gmail.com
mail.smtp.auth=true
mail.smtp.starttls.enable=true
# Test message configuration
mail.testmessage.send=true
mail.testmessage.to=kreethram27@gmail.com
mail.testmessage.subject=AlfOutbound Mail System
mail.testmessage.text=Sending Mails Workshop
Could you please advise on where the issue could be and if additional properties are missing?
Thank you.
Kind regards,
Kiyasha.R
09-18-2024 11:22 AM
My goal is to try and send out an email when a document enters a folder but I am unable to create and save the rule due to this error.
09-19-2024 05:55 AM
Are you shure, what the smtp.gmail.com will recive your connection in old style? Gmail has tightened its security protocols, and they no longer allow simple password authentication for SMTP due to security concerns. Previously, it was possible to use an "application password" or allow less secure apps, but these options have been phased out. Currently, Gmail supports secure methods like OAuth2 for authentication or using an SMTP relay service.
Configure SMTP Ralay in your gmail account and change the Alfresco configuration for smtp-relay.gmail.com.
09-20-2024 08:24 AM
Hello,
I seem to be encountering the same issue after trying that. There is another option in the documentation for using Zimbra which I set but also got the same error:
# Sample Zimbra settings
Not authenticated.
mail.host=zimbra.<your company>
mail.port=25
mail.username=anonymous
mail.password=password
mail.encoding=UTF-8
mail.from.default=<default from address>
mail.smtp.auth=false
mail.smtp.timeout=30000
Explore our Alfresco products with the links below. Use labels to filter content by product module.