Advertisement
Can not connect to smtp.gmail.com Joomla 5 Topic is solved
Moderators: mandville, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 12
- Joined: Mon Jan 09, 2017 10:33 am
Can not connect to smtp.gmail.com Joomla 5
Hi,
For the last days I have tried to get the SMTP mail in Joomla 5 to work - but I get messages that it can not connect.
So my setup is:
Windows 10 pro PC (local pc)
Xampp installation 8.2.12
Joomla version 5.2.0
The openssl.dll is changed to be included in the PHP.ini files
API password on google validated and working.
And the setting in Joomla Server is setup to the documentation found various places on the internet:
SMTP - smtp.gmail.com
Port: 465
Security: SSL/TLS
There ar no firewall issues on the Windows 10 Pro pc - please see test form Zebmap app:
Scanning smtp.gmail.com (142.250.102.109) [1000 ports]
Discovered open port 587/tcp on 142.250.102.109
Discovered open port 993/tcp on 142.250.102.109
Discovered open port 995/tcp on 142.250.102.109
Discovered open port 25/tcp on 142.250.102.109
Discovered open port 465/tcp on 142.250.102.109
Completed SYN Stealth Scan at 14:44, 4.79s elapsed (1000 total ports)
Initiating Service scan at 14:44
gsmtp
465/tcp open ssl/smtp Google gsmtp
|_ssl-date: TLS randomness does not represent time
| ssl-cert: Subject: commonName=smtp.gmail.com
| Subject Alternative Name: DNS:smtp.gmail.com
| Issuer: commonName=Avast Web/Mail Shield Root/organizationName=Avast Web/Mail Shield
| Public Key type: ec
| Public Key bits: 256
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2024-10-07T08:25:31
| Not valid after: 2024-12-30T08:25:30
| MD5: 938f:c186:c67d:fe26:6415:d91b:5a46:8bfa
|_SHA-1: c8a7:49d2:b304:ba0f:8622838c:ddb128e6
| smtp-commands: smtp.gmail.com at your service, [62.66.178.3], SIZE 35882577, 8BITMIME, AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH, ENHANCEDSTATUSCODES, PIPELINING, SMTPUTF8
|_ 2.0.0 https://www.google.com/search?btnI&q=RFC+5321 a640c23a62f3a-a9eb17cec86sm135591766b.119 - gsmtp
The log has been enabled on the Joomla site and here are the result:
2024-11-05T13:49:17+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array()
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): Unable to connect to ssl://smtp.gmail.com:465 (Unknown error) [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP ERROR: Failed to connect to server: (0)
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP Error: Could not connect to SMTP host. Failed to connect to server
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array()
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): Unable to connect to ssl://smtp.gmail.com:465 (Unknown error) [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP ERROR: Failed to connect to server: (0)
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP Error: Could not connect to SMTP host. Failed to connect to server
I have test the SMTP setup on another Joomla installation on a different PC (Windows 10 Education) - and here it is working.
Do any have any clues to what is wrong ?
For the last days I have tried to get the SMTP mail in Joomla 5 to work - but I get messages that it can not connect.
So my setup is:
Windows 10 pro PC (local pc)
Xampp installation 8.2.12
Joomla version 5.2.0
The openssl.dll is changed to be included in the PHP.ini files
API password on google validated and working.
And the setting in Joomla Server is setup to the documentation found various places on the internet:
SMTP - smtp.gmail.com
Port: 465
Security: SSL/TLS
There ar no firewall issues on the Windows 10 Pro pc - please see test form Zebmap app:
Scanning smtp.gmail.com (142.250.102.109) [1000 ports]
Discovered open port 587/tcp on 142.250.102.109
Discovered open port 993/tcp on 142.250.102.109
Discovered open port 995/tcp on 142.250.102.109
Discovered open port 25/tcp on 142.250.102.109
Discovered open port 465/tcp on 142.250.102.109
Completed SYN Stealth Scan at 14:44, 4.79s elapsed (1000 total ports)
Initiating Service scan at 14:44
gsmtp
465/tcp open ssl/smtp Google gsmtp
|_ssl-date: TLS randomness does not represent time
| ssl-cert: Subject: commonName=smtp.gmail.com
| Subject Alternative Name: DNS:smtp.gmail.com
| Issuer: commonName=Avast Web/Mail Shield Root/organizationName=Avast Web/Mail Shield
| Public Key type: ec
| Public Key bits: 256
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2024-10-07T08:25:31
| Not valid after: 2024-12-30T08:25:30
| MD5: 938f:c186:c67d:fe26:6415:d91b:5a46:8bfa
|_SHA-1: c8a7:49d2:b304:ba0f:8622838c:ddb128e6
| smtp-commands: smtp.gmail.com at your service, [62.66.178.3], SIZE 35882577, 8BITMIME, AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH, ENHANCEDSTATUSCODES, PIPELINING, SMTPUTF8
|_ 2.0.0 https://www.google.com/search?btnI&q=RFC+5321 a640c23a62f3a-a9eb17cec86sm135591766b.119 - gsmtp
The log has been enabled on the Joomla site and here are the result:
2024-11-05T13:49:17+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array()
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): Unable to connect to ssl://smtp.gmail.com:465 (Unknown error) [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP ERROR: Failed to connect to server: (0)
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP Error: Could not connect to SMTP host. Failed to connect to server
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array()
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_client(): Unable to connect to ssl://smtp.gmail.com:465 (Unknown error) [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 408]
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP ERROR: Failed to connect to server: (0)
2024-11-05T13:49:18+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP Error: Could not connect to SMTP host. Failed to connect to server
I have test the SMTP setup on another Joomla installation on a different PC (Windows 10 Education) - and here it is working.
Do any have any clues to what is wrong ?
Advertisement
- ceford
- Joomla! Hero
- Posts: 2901
- Joined: Mon Feb 24, 2014 10:38 pm
- Location: Edinburgh, Scotland
- Contact:
Re: Can not connect to smtp.gmail.com Joomla 5
Have you set up Gmail in Global Configuration:
https://jdocmanual.org/jdocmanual?artic ... mail-gmail
https://jdocmanual.org/jdocmanual?artic ... mail-gmail
-
- Joomla! Apprentice
- Posts: 12
- Joined: Mon Jan 09, 2017 10:33 am
Re: Can not connect to smtp.gmail.com Joomla 5
Hi - yes I have flowed the instruction - many times !
- Per Yngve Berg
- Joomla! Master
- Posts: 31390
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Can not connect to smtp.gmail.com Joomla 5
This is the error you should focus on:
error:0A000086:SSL routines::certificate verify failed
error:0A000086:SSL routines::certificate verify failed
- toivo
- Joomla! Master
- Posts: 17901
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Can not connect to smtp.gmail.com Joomla 5
If it helps, as a comparison, here is an extract from the start of the log everything.php from a working connection of Joomla 5.2.0 in Wampserver 3.3.6 on Windows 11. The selection in SMTP Security was STARTTLS and the port 587. The php.ini file has a line 'extension=openssl' but php.ini does not refer directly to openssl.dll anywhere.
Code: Select all
2024-11-05T20:57:01+00:00 ERROR 127.0.0.1 mail Error in Mail API: Connection: opening to smtp.gmail.com:587, timeout=300, options=array()
2024-11-05T20:57:01+00:00 ERROR 127.0.0.1 mail Error in Mail API: Connection: opened
2024-11-05T20:57:01+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "220 smtp.gmail.com ESMTP d2e1a72fcca58-720bc1e5cbesm10274672b3a.61 - gsmtp"
2024-11-05T20:57:01+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 220 smtp.gmail.com ESMTP d2e1a72fcca58-720bc1e5cbesm10274672b3a.61 - gsmtp
2024-11-05T20:57:01+00:00 ERROR 127.0.0.1 mail Error in Mail API: CLIENT -> SERVER: EHLO joomla52
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-smtp.gmail.com at your service, [180.233.125.137]"
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-SIZE 35882577"
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-8BITMIME"
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-STARTTLS"
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-PIPELINING"
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-CHUNKING"
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250 SMTPUTF8"
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 250-smtp.gmail.com at your service, [180.233.125.137]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: CLIENT -> SERVER: STARTTLS
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "220 2.0.0 Ready to start TLS"
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
2024-11-05T20:57:02+00:00 ERROR 127.0.0.1 mail Error in Mail API: CLIENT -> SERVER: EHLO joomla52
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-smtp.gmail.com at your service, [180.233.125.137]"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-SIZE 35882577"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-8BITMIME"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-PIPELINING"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250-CHUNKING"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "250 SMTPUTF8"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 250-smtp.gmail.com at your service, [180.233.125.137]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: Auth method requested: UNSPECIFIED
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: Requested auth method not available:
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: Auth method selected: LOGIN
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: CLIENT -> SERVER: AUTH LOGIN
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "334 VXNlcm5hbWU6"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 334 VXNlcm5hbWU6
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: CLIENT -> SERVER: dG9pdm8udGFsaWtrYUBnbWFpbC5jb20=
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "334 UGFzc3dvcmQ6"
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2024-11-05T20:57:03+00:00 ERROR 127.0.0.1 mail Error in Mail API: CLIENT -> SERVER: eGhkbGdudXF0YWx4cXR1bw==
2024-11-05T20:57:04+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "235 2.7.0 Accepted"
2024-11-05T20:57:04+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 235 2.7.0 Accepted
Toivo Talikka, Global Moderator
-
- Joomla! Apprentice
- Posts: 12
- Joined: Mon Jan 09, 2017 10:33 am
Re: Can not connect to smtp.gmail.com Joomla 5
Hi,
I tried various thing - and the API password works on another joomla installation. I tried the port 587 and security STARTTLS and still get error - but the log looks like this:
I tried various thing - and the API password works on another joomla installation. I tried the port 587 and security STARTTLS and still get error - but the log looks like this:
Code: Select all
2024-11-06T16:31:06+00:00 INFO 10.34.0.3 task2 Running task#02 'Session GC'.
2024-11-06T16:31:06+00:00 INFO 10.34.0.3 task2 Task> SessionGC end
2024-11-06T16:31:06+00:00 INFO 10.34.0.3 task2 Successfully finished task#02 in 0.00 (net 0.00) seconds.
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: opening to smtp.gmail.com:587, timeout=300, options=array()
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: opened
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "220 smtp.gmail.com ESMTP a640c23a62f3a-a9eb16d263csm297604166b.42 - gsmtp"
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SERVER -> CLIENT: 220 smtp.gmail.com ESMTP a640c23a62f3a-a9eb16d263csm297604166b.42 - gsmtp
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: CLIENT -> SERVER: EHLO 10.34.0.3
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-smtp.gmail.com at your service, [62.66.178.3]"
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-SIZE 35882577"
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-8BITMIME"
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-STARTTLS"
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-PIPELINING"
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250 SMTPUTF8"
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SERVER -> CLIENT: 250-smtp.gmail.com at your service, [62.66.178.3]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250 SMTPUTF8
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: CLIENT -> SERVER: STARTTLS
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "220 2.0.0 Ready to start TLS"
2024-11-06T16:31:11+00:00 ERROR 10.34.0.3 mail Error in Mail API: SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 487]
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: CLIENT -> SERVER: QUIT
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: ""
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SERVER -> CLIENT:
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP ERROR: QUIT command failed:
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: closed
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: opening to smtp.gmail.com:587, timeout=300, options=array()
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: opened
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "220 smtp.gmail.com ESMTP a640c23a62f3a-a9eb1813123sm299347566b.174 - gsmtp"
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SERVER -> CLIENT: 220 smtp.gmail.com ESMTP a640c23a62f3a-a9eb1813123sm299347566b.174 - gsmtp
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: CLIENT -> SERVER: EHLO 10.34.0.3
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-smtp.gmail.com at your service, [62.66.178.3]"
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-SIZE 35882577"
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-8BITMIME"
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-STARTTLS"
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250-PIPELINING"
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "250 SMTPUTF8"
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SERVER -> CLIENT: 250-smtp.gmail.com at your service, [62.66.178.3]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250 SMTPUTF8
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: CLIENT -> SERVER: STARTTLS
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: "220 2.0.0 Ready to start TLS"
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed [[ROOT]\libraries\vendor\phpmailer\phpmailer\src\SMTP.php line 487]
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: CLIENT -> SERVER: QUIT
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP INBOUND: ""
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SERVER -> CLIENT:
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP ERROR: QUIT command failed:
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: Connection: closed
2024-11-06T16:31:12+00:00 ERROR 10.34.0.3 mail Error in Mail API: SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
Last edited by toivo on Wed Nov 06, 2024 6:43 pm, edited 1 time in total.
Reason: mod note: added CODE tags
Reason: mod note: added CODE tags
-
- Joomla! Apprentice
- Posts: 12
- Joined: Mon Jan 09, 2017 10:33 am
Re: Can not connect to smtp.gmail.com Joomla 5
I just did a fresh installation on another PC with same specification - and i works fine - so I guess that is some issue on the PC.
-
- Joomla! Apprentice
- Posts: 12
- Joined: Mon Jan 09, 2017 10:33 am
Re: Can not connect to smtp.gmail.com Joomla 5
After more testing - I found the solution. I had Avast Anti Virus installed. I uninstalled it ,,, and BINGO it works.
Thanks to all that has been kind to help here - to find a solution.
Thanks to all that has been kind to help here - to find a solution.
- toivo
- Joomla! Master
- Posts: 17901
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Can not connect to smtp.gmail.com Joomla 5
Cheers, and thank you for the update!
Toivo Talikka, Global Moderator
-
- Joomla! Apprentice
- Posts: 12
- Joined: Mon Jan 09, 2017 10:33 am
Re: Can not connect to smtp.gmail.com Joomla 5
I have done some more test - and it is the Mailshield that needs to be disabled on the Avast anti virus.
Advertisement