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.SocketTimeoutExce
ption: Read timed out at java.net.SocketInputStream
.socketRea
d0(Native Method) at java.net.SocketInputStream
.read(Sock
etInputStr
eam.java:1
29) at java.io.BufferedInputStrea
m.fill(Buf
feredInput
Stream.jav
a:218) at java.io.BufferedInputStrea
m.read(Buf
feredInput
Stream.jav
a:237) at java.io.DataInputStream.re
adLine(Dat
aInputStre
am.java:49
6) at com.sun.mail.pop3.Protocol
.simpleCom
mand(Proto
col.java:3
47) at com.sun.mail.pop3.Protocol
.<init>(Pr
otocol.jav
a:91) at com.sun.mail.pop3.POP3Stor
e.getPort(
POP3Store.
java:201) at com.sun.mail.pop3.POP3Stor
e.protocol
Connect(PO
P3Store.ja
va:144) at javax.mail.Service.connect
(Service.j
ava:275) at coldfusion.mail.PopImpl.va
lidate_fol
der(PopImp
l.java:192
)
The Actual Code is as follows:
Start Free Trial