An exception occurred while configuring the mail server settings: cfpop

the code below worked until a few days ago, but it started throwing an exception

<cfpop
    action="getall"
    name="qMessage"
    server="mail.forestweb.com"
    port="995"
    username="email***@industryintel.com"
    password="******"
    timeout="30"
/>

I run this code every 10 minutes to receive emails. And the 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 someone tell me why this is happening, and if he has any solutions.

+3
source share
2 answers

The main reason for me when I had this problem was that my hard drive was almost completely compatible with the fact that there were some invalid spool files in the spool directory.

I freed up space on the hard drive on which my cf server was turned on, and the message was sent again.

+3
source

Source: https://habr.com/ru/post/1747406/


All Articles