Advertisement

06.08.2008 at 08:32AM PDT, ID: 23467303 | Points: 250
[x]
Attachment Details

CFPOP not working on Vista Home and ColdFusion 8 | Read Timeout Error | Error setting up mail parameters

Asked by DAJED in Cold Fusion Markup Language, Windows Vista

Tags: , , ,

I had windows XP and ColdFusion MX 7 and was using the CFPOP tag to check for mail and attachments then carry out processing on them.  The code has not changed however, I have migrated to a new PC with Windows Vista Home and I have recently installed ColdFusion 8.

The problem that I am having is that my page stalls for the specified timeout in the CFPOP tag then returns a read error, note below:

java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.DataInputStream.readLine(DataInputStream.java:496) at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:347) at com.sun.mail.pop3.Protocol.<init>(Protocol.java:91) at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201) at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144) at javax.mail.Service.connect(Service.java:275) at coldfusion.mail.PopImpl.validate_folder(PopImpl.java:192)

The Actual Code is as follows:Start Free Trial
1:
2:
<cfset Directory = "#UserDirectory#">
	<cfpop attachmentPath="#Directory#" name="Session.SingleEmail" uid="#ArrayToList(Google,",")#" timeout="180" server="mail.myservername.com" username="myservernameUser" password="myservernamePassword" action="getall">
[+][-]06.25.2008 at 05:42PM PDT, ID: 21870976

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 07:32PM PDT, ID: 21970085

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628