cancel
Showing results for 
Search instead for 
Did you mean: 

Outbound email configurations for alfresco 3.0 community edition

aishu
Champ on-the-rise
Champ on-the-rise

Dear team,

We have alfresco community 3.0 version installed in our system and would like to set up email configurations settings for workflow, as of that we made change in alfreso-global-property file for outbound email configurations mentioned as below:

mail.host=smtp.gmail.com
mail.port=587
mail.protocol=smtps
mail.username=******@gmail.com
mail.password=******
mail.smtp.timeout=100000
mail.smtps.starttls.enable=true
mail.smtps.auth=true

but still we are not able to send any mail from user .

Is Alfresco 3.0 community version supports outbound email configurations?.

Please suggest and help!

4 REPLIES 4

aishu
Champ on-the-rise
Champ on-the-rise

After workflow we got above error in alfresco log file.

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?; message exceptions (1) are:
Failed message 1: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 25;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
2019-07-11 03:17:39,458 ERROR [org.alfresco.util.transaction.TransactionSupportUtil] [defaultAsyncAction1] After completion (committed) TransactionalCache exception
org.alfresco.error.AlfrescoRuntimeException: 06110025 Failed to send email to:[pradeep, aishwarya]
at org.alfresco.repo.action.executer.MailActionExecuter.sendEmail(MailActionExecuter.java:1077)
at org.alfresco.repo.action.executer.MailActionExecuter.access$4(MailActionExecuter.java:1040)
at org.alfresco.repo.action.executer.MailActionExecuter$2$1.execute(MailActionExecuter.java:510)
at org.alfresco.repo.action.executer.MailActionExecuter$2$1.execute(MailActionExecuter.java:1)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
at org.alfresco.repo.action.executer.MailActionExecuter$2.afterCommit(MailActionExecuter.java:504)
at 

vidhipanchal
Star Contributor
Star Contributor

Hi,

Are you able to login in Email server(gmail) by using mentiond username and password?

Thanks,

Vidhi

ContCentric

Regards,
Vidhi

abhinavmishra14
World-Class Innovator
World-Class Innovator

I see you are using gmail smpt for your test. Check whether you have setup the account properly. Google has changed the process and you need to make following changes to your account. 

An account must be enabled for less secure app in order to use smtp.

https://myaccount.google.com/lesssecureapps

Hope this helps you.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

aishu
Champ on-the-rise
Champ on-the-rise

Dear team,

Solved this issue ...i m using port number 587 but when is used diffferent port number issue was solved..

thank you for your response.