Error connecting to the server gmail
-
I’m trying to set up Postie to retrieve emails which are sent to a gmail account. We had tried to set it up to use Office365 but could not get it to work with that either, so we decided to try gmail, but that’s not working either. We had Postie set up previously using our on-premises Exchange server and it worked fine. We host the website on our own server. Also, I checked on the server and ran echo “TAG LOGOUT” |openssl s_client -connect imap.gmail.com:993 and echo quit | openssl s_client -connect pop.gmail.com:995 and both connected successfully.
POP (and IMAP) are turned on in the Gmail account, Secure App is turned off. I keep seeing the “Use Transport Layer Security (TLS)” option mentioned for the Postie settings, but I don’t see it in mine (using Postie version 1.8.17). Also, I have the option “Connection Sockets or cURL” available.
Part of my debug output is as follows, and I think that it may provide a clue to the problem but I’m not sure:
MAKE SURE POP IS TURNED ON IN SETTING AT Gmail
postie_getemails: Connecting to pop.gmail.com:995 (pop3-ssl)
postie_getemails: procol: pop3-ssl
Connecting via Socket
Socket: tls://pop.gmail.com:995
Socket error: 0 –
There was an error connecting to the serverI am certain that the username and password for the Gmail account are correct, I’ve also tried POP3 but that shows the same error. I can log into the Gmail account successfully, so I’m not sure where I am making an error. Hopefully someone can show me what is incorrect. Thank you.
- The topic ‘Error connecting to the server gmail’ is closed to new replies.