Not working with gmail
-
Hi,
We used the plugin many months ago and everything was fine. Trying to use it again and getting errors. Below is part of the debug output – let me know if you need more.
Thanks for the help!
getemails: Connecting to pop.gmail.com:995 (pop3-ssl)
getemails: procol: pop3-ssl
pConnection: mailbox: INBOX
Connecting via cURL
Array
(
[version_number] => 467712
[age] => 3
[features] => 50877
[ssl_version_number] => 0
[version] => 7.35.0
[host] => x86_64-pc-linux-gnu
[ssl_version] => OpenSSL/1.0.1f
[libz_version] => 1.2.8
[protocols] => Array
(
[0] => dict
[1] => file
[2] => ftp
[3] => ftps
[4] => gopher
[5] => http
[6] => https
[7] => imap
[8] => imaps
[9] => ldap
[10] => ldaps
[11] => pop3
[12] => pop3s
[13] => rtmp
[14] => rtsp
[15] => smtp
[16] => smtps
[17] => telnet
[18] => tftp
))
getemails: listing messages
curl write: pop3s://pop.gmail.com - STAT
curl return:
curl:
curl log: * Rebuilt URL to: pop3s://pop.gmail.com/
* Hostname was NOT found in DNS cache
* Trying 74.125.195.108...
* Connected to pop.gmail.com (74.125.195.108) port 995 (#2)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=pop.gmail.com
* start date: 2018-06-19 11:38:24 GMT
* expire date: 2018-08-28 11:31:00 GMT
* issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
* SSL certificate verify ok.
< +OK Gpop ready for requests from 104.198.14.121 i17-v6mb119802349otj
> CAPA
< +OK Capability list follows
< USER
< RESP-CODES
< EXPIRE 0
< LOGIN-DELAY 300
< TOP
< UIDL
< X-GOOGLE-RICO
< SASL PLAIN XOAUTH2 OAUTHBEARER
< .
> AUTH PLAIN
< +
> cG9zdGllX25waEBub25wcm9maXRob3VzaW5nLm9yZwBwb3N0aWVfbnBoQG5vbnByb2ZpdGhvdXNpbmcub3JnAFJMUHU4OGY3NjVKUGFzZGY=
< +OK Welcome.
> STAT
< +OK 1 3439
* Connection #2 to host pop.gmail.com left intact
curl read: matched expect
curl read (13) :+OK 1 3439
pop count: +OK 1 3439
curl write: pop3s://pop.gmail.com - LIST
curl return:
curl:
curl log: * Rebuilt URL to: pop3s://pop.gmail.com/
* Hostname was found in DNS cache
* Trying 74.125.195.108...
* Connected to pop.gmail.com (74.125.195.108) port 995 (#3)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=pop.gmail.com
* start date: 2018-06-19 11:38:24 GMT
* expire date: 2018-08-28 11:31:00 GMT
* issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
* SSL certificate verify ok.
< +OK Gpop ready for requests from 104.198.14.121 n20-v6mb593736oca
> CAPA
< +OK Capability list follows
< USER
< RESP-CODES
< EXPIRE 0
< LOGIN-DELAY 300
< TOP
< UIDL
< X-GOOGLE-RICO
< SASL PLAIN XOAUTH2 OAUTHBEARER
< .
> AUTH PLAIN
< +
> cG9zdGllX25waEBub25wcm9maXRob3VzaW5nLm9yZwBwb3N0aWVfbnBoQG5vbnByb2ZpdGhvdXNpbmcub3JnAFJMUHU4OGY3NjVKUGFzZGY=
< +OK Welcome.
> LIST
< +OK 1 messages (3439 bytes)
* Connection #3 to host pop.gmail.com left intact
curl read (13) :+OK 1 messages (3439 bytes)
curl write: pop3s://pop.gmail.com - TOP 1 1
curl return:
curl:
curl log: * Rebuilt URL to: pop3s://pop.gmail.com/
* Hostname was found in DNS cache
* Trying 74.125.195.108...
* Connected to pop.gmail.com (74.125.195.108) port 995 (#4)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=pop.gmail.com
* start date: 2018-06-19 11:38:24 GMT
* expire date: 2018-08-28 11:31:00 GMT
* issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
* SSL certificate verify ok.
< +OK Gpop ready for requests from 104.198.14.121 a142-v6mb117627303oih
> CAPA
< +OK Capability list follows
< USER
< RESP-CODES
< EXPIRE 0
< LOGIN-DELAY 300
< TOP
< UIDL
< X-GOOGLE-RICO
< SASL PLAIN XOAUTH2 OAUTHBEARER
< .
> AUTH PLAIN
< +
> cG9zdGllX25waEBub25wcm9maXRob3VzaW5nLm9yZwBwb3N0aWVfbnBoQG5vbnByb2ZpdGhvdXNpbmcub3JnAFJMUHU4OGY3NjVKUGFzZGY=
< +OK Welcome.
> TOP 1 1
< +OK message follows
* Connection #4 to host pop.gmail.com left intact
curl read (13) :+OK message follows
pPop3MailServer::listMessages missing "received" header
pPop3MailServer::listMessages missing "date" header
pPop3MailServer::listMessages missing "subject" header
pPop3MailServer::listMessages missing "message-id" header
pPop3MailServer::listMessages missing "to" header
pPop3MailServer::listMessages missing "in-reply-to" header
Array
(
[1] => Array
(
[uid] => 1
[received] =>
[size] =>
[date] =>
[from] =>
[subject] =>
))
getemails: fetch 1
curl write: pop3s://pop.gmail.com - RETR 1
curl return:
curl:
curl log: * Rebuilt URL to: pop3s://pop.gmail.com/
* Hostname was found in DNS cache
* Trying 74.125.195.108...
* Connected to pop.gmail.com (74.125.195.108) port 995 (#5)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=pop.gmail.com
* start date: 2018-06-19 11:38:24 GMT
* expire date: 2018-08-28 11:31:00 GMT
* issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
* SSL certificate verify ok.
< +OK Gpop ready for requests from 104.198.14.121 n20-v6mb594969oca
> CAPA
< +OK Capability list follows
< USER
< RESP-CODES
< EXPIRE 0
< LOGIN-DELAY 300
< TOP
< UIDL
< X-GOOGLE-RICO
< SASL PLAIN XOAUTH2 OAUTHBEARER
< .
> AUTH PLAIN
< +
> cG9zdGllX25waEBub25wcm9maXRob3VzaW5nLm9yZwBwb3N0aWVfbnBoQG5vbnByb2ZpdGhvdXNpbmcub3JnAFJMUHU4OGY3NjVKUGFzZGY=
< +OK Welcome.
> RETR 1
< +OK message follows
* Connection #5 to host pop.gmail.com left intact
curl read (13) :+OK message follows
parseStructure: content-type
Array
(
[type] => text
[type_fields] => Array
(
)[subtype] => plain
[content_id] =>
[encoding] => 8bit
[disposition] =>
[disposition_fields] => Array
(
))
handlePart: no disposition set
getemails: no html
getemails: deleting 1
curl write: pop3s://pop.gmail.com - DELE 1
curl return:
curl:
curl log: * Rebuilt URL to: pop3s://pop.gmail.com/
* Hostname was found in DNS cache
* Trying 74.125.195.108...
* Connected to pop.gmail.com (74.125.195.108) port 995 (#6)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=pop.gmail.com
* start date: 2018-06-19 11:38:24 GMT
* expire date: 2018-08-28 11:31:00 GMT
* issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
* SSL certificate verify ok.
< +OK Gpop ready for requests from 104.198.14.121 b19-v6mb100279769ocu
> CAPA
< +OK Capability list follows
< USER
< RESP-CODES
< EXPIRE 0
< LOGIN-DELAY 300
< TOP
< UIDL
< X-GOOGLE-RICO
< SASL PLAIN XOAUTH2 OAUTHBEARER
< .
> AUTH PLAIN
< +
> cG9zdGllX25waEBub25wcm9maXRob3VzaW5nLm9yZwBwb3N0aWVfbnBoQG5vbnByb2ZpdGhvdXNpbmcub3JnAFJMUHU4OGY3NjVKUGFzZGY=
< +OK Welcome.
> DELE 1
< -ERR Message number out of range.
> QUIT
< +OK Farewell.
* Closing connection 6
Curl: error - (56)
getemails: Unable to write data to POP3 server pop.gmail.com on port 995
There are 1 messages to process
The topic ‘Not working with gmail’ is closed to new replies.