I am trying to setup IMAP using TLS and Gmail. I am not having much luck, any help would be appreciated.
If i use SSL it also does not work
I have turned on less secure apps.
I have enabled POP and IMAP in the settings for the account.
From the logs:
[2020-10-26 00:18:30] Espo.DEBUG: API (0) cannot read - connection closed?; POST /InboundEmail/action/testConnection; Input data: {"host":"imap.gmail.com","port":993,"security":"TL S","username":"XXXXXXXXXXXX@gmail.com","password": "*****","emailAddress":"XXXXXXXXXXXX@gmail.com "}; Route pattern: /{controller}/action/{action}; Route params: Array ( [controller] => InboundEmail [action] => testConnection ) [] [] [2020-10-26 00:18:30] Espo.ERROR: (0) cannot read - connection closed?; POST /InboundEmail/action/testConnection; line: 123, file: /home/v6test1/public_html/vendor/laminas/laminas-mail/src/Protocol/Imap.php [] [] d
If i use SSL it also does not work
I have turned on less secure apps.
I have enabled POP and IMAP in the settings for the account.
From the logs:
[2020-10-26 00:18:30] Espo.DEBUG: API (0) cannot read - connection closed?; POST /InboundEmail/action/testConnection; Input data: {"host":"imap.gmail.com","port":993,"security":"TL S","username":"XXXXXXXXXXXX@gmail.com","password": "*****","emailAddress":"XXXXXXXXXXXX@gmail.com "}; Route pattern: /{controller}/action/{action}; Route params: Array ( [controller] => InboundEmail [action] => testConnection ) [] [] [2020-10-26 00:18:30] Espo.ERROR: (0) cannot read - connection closed?; POST /InboundEmail/action/testConnection; line: 123, file: /home/v6test1/public_html/vendor/laminas/laminas-mail/src/Protocol/Imap.php [] [] d
Comment