Support Article
STARTTLS with Exchange Server 2010
SA-14889
Summary
Microsoft Exchange Server 2010 is used as the IMAP server.
The Exchange Server is configured to require the 'STARTTLS' option for IMAP.
The following error is generated in the PegaRules.log when using the 'Test Connection' button on the Email Account > Receiver Rules Form:
[...]
Caused by: javax.mail.MessagingException: No login methods supported!;
nested exception is:
com.sun.mail.iap.ProtocolException: No login methods supported!
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:569)
[...]
Resolution
Perform the following local-change:
1. Locate appropriate 'Email Account' that is used for your EmailListener.
2. Under the 'Receiver' section, click 'Advanced' button.
3. Add the following property and set it to 'true':
mail.imap.starttls.enable
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/enable1443446895279.png)
4. Click the 'Test Connection' button after saving this change, the 'Test Connection' should now work without error.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.