Diagnosing problems with the mail server
To diagnose problems with the mail server
- In Email Engine, open the AR System Email Mailbox Configuration form in Search mode.
- Open the entries for both the incoming and outgoing mailboxes.
- Verify the email server name. Confirm that you can ping or connect from the system by using an email client, such as Microsoft Outlook Express.
- Verify that the email server supports the protocol you supplied, for example, MAPI or SMTP or EWS.
- Verify the email server port.
- If you are unsure, click Set Email Server Port button to Force. This value to be the default for that protocol.
Each protocol has a different default value, unless the mail server has been configured differently. If this is the case, check the value with your email server administrator. - Verify the User Name and Password. Retype them if necessary.
Windows — Fixing MAPI transport problems
When using Email Engine on Windows, your primary email server is Microsoft Exchange. If you have chosen to use MAPI as the protocol, you might encounter the following MAPI transport error when starting the email daemon:
Using 1.5.0_11
loaded library
8-Apr-2004 12:00:36 PM javax.mail.Session getService
SEVERE: mapitransport
javax.mail.NoSuchProviderException: mapitransport
at javax.mail.Session.getService(Session.java:760)
at javax.mail.Session.getTransport(Session.java:685)
at javax.mail.Session.getTransport(Session.java:628)
at javax.mail.Session.getTransport(Session.java:608)
at com.bmc.arsys.emaildaemon.SenderModule.openTransport
(SenderModule.java:103)at com.bmc.arsys.emaildaemon.CreatorModule.doWork
(CreatorModule.java:323)at com.bmc.arsys.emaildaemon.ThreadBase.run (ThreadBase.java:259) at java.lang.Thread.run(Thread.java:536)
You see this issue when the Oracle JavaMail system does not know what transport setting to use for MAPI, and the library cannot locate the correct class to use for MAPI.
To fix the MAPI transport problem (Windows)
- Locate the javamail.providers file in the lib directory of the JRE installation. This is the same location as the logging.properties file. You can create this file if necessary.
On the first line, verify (or add) the following text:
protocol=mapistore; type=store; class=com.bmc.mail.mapi.MAPIStore; vendor=mapi@bmc.com;On the second line, verify (or add) the following text:
protocol=mapitransport; type=transport; class=com.bmc.mail.mapi.MAPITransport; vendor=mapi@bmc.com;Stop and then restart Email Engine.
These settings make sure that the JavaMail system uses the class created to support MAPI for both incoming and outgoing mailboxes.
Email Engine behavior with PLAIN Authentication mode
Email Engine did not work with the PLAIN authentication mode.
Email Engine does not support the PLAIN authentication mode; instead, it uses the LOGIN command mechanism to connect to the Microsoft Exchange Server.
Therefore, if Exchange Server uses PLAIN authentication, you must add the following parameters to the registry for Email Engine to work:
mail.imap.auth.plain.disable=true
If you start Email Engine in the debug mode, you need to add the following parameters to the Emailstart.bat (Windows) or emaild.sh (UNIX) file:
-Dmail.imap.auth.plain.disable=true
Using these parameters forces the Exchange Server and Email Engine to disable PLAIN authentication and enable the simple LOGIN command mechanism.