I have a MDB that I want to listen to mail. Unfortunately, it doesn't work. I always get an error message:
2008-02-08 00:03:44,421 ERROR [MailActivation] Failed to execute folder check, spec=MailActivationSpec(mailServer=...
Since the mail server is running on port 993, this is no surprise. But when I add the ActivationConfigProperty
@ActivationConfigProperty(propertyName = "port", propertyValue = "993"),
then nothing happens anymore. I don't get any error logs in my log file, but it's not receiving any mail. My admin also said that there are no login requests coming anymore.
So my question is: Is this the correct way to configure the port? It looks like it, but apparently isn't working.
There is a port on the MailActivationSpec.
Since this is just a thin wrapper for JavaMail, you should test
whether you can connect with the raw api first.