Answers.Body: <p>You would have to hack this line and change the second parameter from null to your port: <a href="https://github.com/civicrm/civicrm-core/blob/92584a7a5e7181a35482f2e7485816b91411a84b/CRM/Mailing/MailStore/Imap.php#L74" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/92584a7a5e7181a35482f2e7485816b91411a84b/CRM/Mailing/MailStore/Imap.php#L74</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-07T18:32:57.403Z
Answers.Text: 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 ;-)
Answers.UserDisplayName: Walter S.
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-02T04:47:02.507Z
Answers.LastActivityDate: 2024-05-02T04:47:02.507Z
Answers.UserDisplayName: Demerit
Body: <p>is it somehow possible to tell CiviCRM to use a different IMAPS port rather than 993/tcp?</p>
  <p>Kind regards,
  Walter</p>
  
Tags: <civimail>
Title: Howto use a different IMAPS port
ThreadText: # Howto use a different IMAPS port
  
  (Asked by: username_0 on 2024-05-01)
  
  is it somehow possible to tell CiviCRM to use a different IMAPS port rather than 993/tcp?
  
  Kind regards,
  username_0
  
  **Tags:** civimail
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-05-02. Score: 0
  
  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>
  
  > **Comments:**
  > **username_0**: 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 ;-)  
  
  ---
  
  