postalsys / imapflow

IMAP Client library for EmailEngine Email API (https://emailengine.app)
https://imapflow.com
Other
367 stars 64 forks source link

GREEETING_TIMEOUT error is thrown when i try to connect from a hosted server #148

Closed ejerenwaavis closed 1 year ago

ejerenwaavis commented 1 year ago

Describe the bug Whenever i try to read a mialbox from my hosted web application the GREEETING_TIMEOUT error is thrown, however when i run the same exact application from my local machin (localhost), it works just fine.

To Reproduce Steps to reproduce the behavior:

  1. Host NodeJS Web Application on Namecheap
  2. make a call to API endpoint that should begin reading inbox
  3. Error is thrown

Expected behavior Whenever a call is made to the API when hosted on a local machine, it should return a JSON object which has a summary of what data was read and if the reading was successfull or not. see screenshots

Expected Behavior: image

Buggy Behavior: image

Desktop (please complete the following information):

Thank you in advance

andris9 commented 1 year ago

Your TLS config (secure option) is probably wrong. Or some other connection options are wrong.