An exception occurred when setting up mail server parameters.: cfpop
        Posted  
        
            by Deepak 
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Deepak 
        
        
        
        Published on 2010-05-27T16:46:20Z
        Indexed on 
            2010/05/29
            9:42 UTC
        
        
        Read the original article
        Hit count: 559
        
Hi, the below code was working till few days back, but all of the sudden 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. Thanks in advance!!
© Stack Overflow or respective owner