Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2016 02:53 PM
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
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
Labels:
- Labels:
-
Archive
1 ACCEPTED ANSWER
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2016 08:21 PM
I was able to send an email successfully using the yahoo smtp setting you have there. Looks like the SSL and TLS configs you have is incorrect. Please fix those property names as described in https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/#emailServerConfiguration and try again.
email.ssl=true
email.tls=true
Regards,
Ciju
email.ssl=true
email.tls=true
Regards,
Ciju
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2016 08:21 PM
I was able to send an email successfully using the yahoo smtp setting you have there. Looks like the SSL and TLS configs you have is incorrect. Please fix those property names as described in https://docs.alfresco.com/activiti/docs/admin-guide/1.5.0/#emailServerConfiguration and try again.
email.ssl=true
email.tls=true
Regards,
Ciju
email.ssl=true
email.tls=true
Regards,
Ciju
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2016 03:41 PM
Thanks for the info,I'm able to figure it out and now I'm able to send email.
