Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

STARTTLS with Exchange Server 2010



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(


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':


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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us