AnsweredAssumed Answered

Email Configuration

Question asked by narranil2 on Oct 4, 2016
Latest reply on Oct 24, 2016 by narranil2
I'm trying to configure email on the Activiti enterprise and I've the following defined under activiti-app.properties,but once it try to send mail I'm getting following exception.Can any body advise on this?

email.host=smtp.mail.yahoo.com
email.port=587
email.useCredentials=true
email.username=anilkumarreddy@yahoo.com
email.password=####
email.enabled=true

emai.UseSSL=false
email.UseTLS=true


email.base.url=http://localhost:8080/activiti-app
email.from.default=no-reply@activiti.com
email.from.default.name=Activiti BPM
email.feedback.default=activiti@alfresco.com

[activiti-app-rest-Executor-1] ERROR com.activiti.service.common.EmailService  - Error while sending mail about a created task (15006) Mail server
connection failed; nested exception is com.sun.mail.util.MailConnectException: C
ouldn't connect to host, port: smtp.mail.yahoo.com, 587; timeout -1;
  nested exception is:
        java.net.SocketException: Permission denied: connect. Failed messages: c
om.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.mail
.yahoo.com, 587; timeout -1;
  nested exception is:
        java.net.SocketException: Permission denied: connect

Thanks,
Anil

Outcomes