Expand my Community achievements bar.

SOLVED

CQ5.6.1 - Error in setting SMTP

Avatar

Level 2

Hello everyone!

 

I'm facing an issue when configuring the SMTP server (in order to send email when achieving a participant step in a workflow).

I was successfull when I set it using a Gmail account and Gmail SMTP server.

But when I try to set it with an Exchange server (Company's internal server - the one that I need - and Hotmail) I get the following error:

*ERROR* [pool-7-thread-13-null(null)] com.day.cq.workflow.impl.email.EMailNotificationService error while sending email for com.day.cq.workflow.impl.exec.CQWorkItemWrapper@1d378247: org.apache.commons.mail.EmailException: Sending the email to the following server failed : 10.21.3.9:25

 

We tried several ways to get this to work, but we couldnt't. Even browsing in internet and in this forum couldn't find any tip.

We are wondering if it's about the SMTP user's permission.

 

Could you please try to help me?

 

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Level 10

View solution in original post

4 Replies

Avatar

Level 2

Thank you all for your help!

It was a setting info passed to me wrongly.

 

Regards.

Avatar

Level 10

This means that you are not specifying a valid SMTP server, or username/password.  CQ could not communicate with the SMTP server. 

Avatar

Level 4

Please create a sample mail application in eclipse and try to send email using your company exchange mail server and port no.

Avatar

Correct answer by
Level 10