Error Sending notification mail for workflow
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2011 04:19 AM
Hello All,
I created a rule on a space in my Home Space that should send accompanying mail to the next participator in my workflow but i got this error when mail is about being sent
segzy ERROR [action.executer.MailActionExecuter] Failed to send email to [vuvu]
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.alfresco.com, port: 25;
Somebody please tell me what am doing wrong…. Is there a configuration i need to adjust?
I created a rule on a space in my Home Space that should send accompanying mail to the next participator in my workflow but i got this error when mail is about being sent
segzy ERROR [action.executer.MailActionExecuter] Failed to send email to [vuvu]
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.alfresco.com, port: 25;
Somebody please tell me what am doing wrong…. Is there a configuration i need to adjust?
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2011 04:41 AM
Hello,
Yes, it looks like the configuration is set by default to alfresco.
Here are the lines that should be appearing in the "alfresco-global.properties" in your tomcat shared folder:
#
# Outbound Email Configuration
#————-
mail.host=
mail.port=25
mail.username=anonymous
mail.password=
mail.encoding=UTF-8
mail.from.default=alfresco@alfresco.org
mail.smtp.auth=false
And replace accordingly to your server settings….
Hope this helps
Yes, it looks like the configuration is set by default to alfresco.
Here are the lines that should be appearing in the "alfresco-global.properties" in your tomcat shared folder:
#
# Outbound Email Configuration
#————-
mail.host=
mail.port=25
mail.username=anonymous
mail.password=
mail.encoding=UTF-8
mail.from.default=alfresco@alfresco.org
mail.smtp.auth=false
And replace accordingly to your server settings….
Hope this helps
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2011 06:37 AM
Thanks;
I appreciate ur response, but i didnt even have theses lines in my alfresco-global properties before now and it throws the exception. I have added the lines anyway but i still keep having the same exception.
could not connect to SMTP host: localhost, port: 25;
nested exception is:
Could it be the fact am using this port 25, is there any other correct port that can be used? I am sending this mail to a separate mail server like yahoo, gmail
Have I gotten something wrong during installation
I appreciate ur response, but i didnt even have theses lines in my alfresco-global properties before now and it throws the exception. I have added the lines anyway but i still keep having the same exception.
could not connect to SMTP host: localhost, port: 25;
nested exception is:
Could it be the fact am using this port 25, is there any other correct port that can be used? I am sending this mail to a separate mail server like yahoo, gmail
Have I gotten something wrong during installation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2011 09:10 AM
It is strange that the error message still shows 'localhost'…
It would be helpful if you post your configuration…
Here are the two wiki within alfresco explaining the configuration for emails:
outbound: http://wiki.alfresco.com/wiki/Outbound_E-mail_Configuration
inbound: http://wiki.alfresco.com/wiki/Inbound_SMTP_Email_Server_Configuration#Inbound_email_service
It would be helpful if you post your configuration…
Here are the two wiki within alfresco explaining the configuration for emails:
outbound: http://wiki.alfresco.com/wiki/Outbound_E-mail_Configuration
inbound: http://wiki.alfresco.com/wiki/Inbound_SMTP_Email_Server_Configuration#Inbound_email_service
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2011 12:12 PM
Thanks for your support
I finally got it to work. I decided to use gmail smtp server to send the mail and it worked.
I think the problem i was having is that I was using my server IP address instead of using the smtp host for alfresco
This is the configuration i used
mail.host=smtp.gmail.com
mail.port=465
mail.protocol=smtps
mail.username=id.segzy@gmail.com
mail.password=genius234
mail.smtps.starttls.enable=true
mail.smtps.auth=true
I finally got it to work. I decided to use gmail smtp server to send the mail and it worked.
I think the problem i was having is that I was using my server IP address instead of using the smtp host for alfresco
This is the configuration i used
mail.host=smtp.gmail.com
mail.port=465
mail.protocol=smtps
mail.username=id.segzy@gmail.com
mail.password=genius234
mail.smtps.starttls.enable=true
mail.smtps.auth=true
