开发者

An exception occurred when setting up mail server parameters.: cfpop

the below code was working until a few days back, but it started giving exception

<cfpop
    action="getall"
    name="qMessage"
    server="mail.forestweb.com"
    port="995"
    username="email***@industryintel.com"
    password="*开发者_运维问答*****"
    timeout="30"
/>

I am running this code every 10 minutes to fetch the emails. And getting following exceptions:

Message: An exception occurred when setting up mail server parameters.
Detail : This exception was caused by: javax.mail.MessagingException: 
Connect failed; nested exception is: java.net.SocketTimeoutException: Read timed out.

Can anyone please tell me why this is happening and if it has any solutions.


The root cause for me, when I had this problem, was that my harddrive was nearly full combined with the fact that there were some invalid spool files in the spool directory.

I cleared some space on the harddrive that my cf server was on and the email started sending again.


Port 995 is typically used for SSL secured connections. Natively, CFPOP does not support SSL. However, there is a way, check out this post http://www.thecfguy.com/post.cfm/ssl-support-with-cfpop

Hope that helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜