Out Bound email error

cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmannur1
Member II

Out Bound email error

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

2 Replies
ranjeetsi
Established Member II

Re: Out Bound email error

Hello Vikas,

Can you use 465 as port and not 587

mail.smtp.auth=true      should be           mail.smtps.auth=true

SMTPS - Wikipedia 

=================================================

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!

Alfresco Content Services Certified Engineer (ACSCE)
vikasmannur1
Member II

Re: Out Bound email error

thanks bro