is it somehow possible to tell CiviCRM to use a different IMAPS port rather than 993/tcp?

Kind regards, Walter

1 Answer 1


You would have to hack this line and change the second parameter from null to your port: https://github.com/civicrm/civicrm-core/blob/92584a7a5e7181a35482f2e7485816b91411a84b/CRM/Mailing/MailStore/Imap.php#L74

  • 1
    Thank you very much for your prompt reply. Hacking the code might not be a good "way forward" idea - I am going to change the IMAPS port to standard 993 instead ;-)
    – Walter S.
    Commented May 7 at 18:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.