request (path: /path removed/pop/checkmail.cfm:11) is run into a timeout (50 seconds) and has been stopped. no open locks
at railo.runtime.exp.PageRuntimeException.<init>(PageRuntimeException.java:37):37
at railo.runtime.CFMLFactoryImpl.checkTimeout(CFMLFactoryImpl.java:195):195
at railo.runtime.engine.Controler.run(Controler.java:109):109
at railo.runtime.engine.Controler.run(Controler.java:91):91
-- Michael Offner-Streit CTO Railo Technologies GmbH michael...@railo.ch www.getrailo.com Mailing List (english): http://groups.yahoo.com/group/railo_talk/ Mailing List (german): http://de.groups.yahoo.com/group/railo/ Linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1 Issue Tracker: http://jira.jboss.org/jira/browse/RAILO Blog: http://www.railo-technologies.com/blog
If you're burning for a work-around I can try to dig up what I posted
for the other guy (on cf-talk, I think).
I'll go look for it in a bit.
--
What a man is ashamed of is always at bottom himself; and he is
ashamed of himself at bottom always for being afraid.
Robin G. Collingwood
I dug up something that looks promising, tho it's so old Rick might
have made improvements to the core since it was first manhandled to do
pop3s:
http://cfml.pastebin.com/f6f5c8051
Seems to work for imaps or pop3s, from these tests:
var protocol="pop3";
var username="vallia...@gmail.com";
var password="ohNoIforgotToSanitize!";
var mailserver="pop.gmail.com";
var port="995";
var timeout="3";
var connected =
javamail.init(protocol,username,password,mailserver,port,timeout);
assertTrue(connected);
debug(javamail.getFolderInfo("INBOX"));
debug(javamail.getMessageCount("INBOX"));
messageList = javamail.listMessages("INBOX","",1,10);
request.debug(messageList);
and:
var protocol="imaps";
var username="vallia...@gmail.com";
var password="cheeseVsBacon==bedlam!";
var mailserver="imap.gmail.com";
var port="993";
var timeout="3";
var connected = javamail.init(protocol,username,password,mailserver);
assertTrue(connected);
debug(javamail.getFolderInfo("INBOX"));
debug(javamail.getMessageCount("INBOX"));
messageList = javamail.listMessages("INBOX","",1,10);
request.debug(messageList);
But that's all I tried. Wrong username/pass throws "could not connect
to server, check host name", FYI.
Called it javamail.cfc so it'll eventually be <cfjavamail
action="blah" /> or whatnot on railoprojects maybe, assuming it's
cool.
Rick, wanna team up on this? FWIW, I have a UI somewhere that uses
dojo and is beautiful. CFOpenMail maybe?
:den
--
I am obliged to believe certain opinions myself. No man's belief will
save me except my own.
Anthony Collins