views:

117

answers:

0

I am using the following example to poll for messages,

http://www.jboss.org/community/wiki/InboundJavaMail

the setup seems to be ok as when I change the username / password to be invalid, or specify the wrong mailbox I get an error message in the JBoss (4.2.3) log telling me it is wrong at every poll interval. When the settings are correct though and I send an email message to that folder the onMessage event does not get called. does anyone know why? Could it be the type of file that is getting created?