Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The ajax-based connection tests in the mailbox configuration can be a bit flaky... I should figured out how to make them more user-friendly and robust. A good start might be to call drupal_get_messages() to clear existing messages whenever a connection test is performed to prevent imap errors from accumulating in the message queue, and then if an error is returned on the ajax test advise users to save the form and details will be displayed on the next page.
Comments
Comment #1
Dane Powell CreditAttribution: Dane Powell commented