AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: aletnelb on September 26, 2023, 02:20:49 PM

Title: gmail smtp setup
Post by: aletnelb on September 26, 2023, 02:20:49 PM
Does gmail smtp still work? i cant get it to work
Title: Re: gmail smtp setup
Post by: Basara on September 27, 2023, 02:54:49 AM
Hello.
Did you see any errors in the AbanteCart error log?
Title: Re: gmail smtp setup
Post by: aletnelb on October 03, 2023, 01:45:19 PM
this is the error logs if that helps


2023-09-26 16:38:02 - AMail. transport: Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport: Connection could not be established with host "ssl://smtp.gmail.com:465": stream_socket_client(): Peer certificate CN=`serv29.registerdomain.co.za' did not match expected CN=`smtp.gmail.com'
2023-09-26 16:38:02 - App Error: AbanteCart core v.1.3.4 AMail Errors: Connection could not be established with host "ssl://smtp.gmail.com:465": stream_socket_client(): Peer certificate CN=`serv29.registerdomain.co.za' did not match expected CN=`smtp.gmail.com'
Trace:
#0 /home/aletnelb/public_html/admin/controller/task/sale/contact.php on line 259
#1 /home/aletnelb/public_html/admin/controller/task/sale/contact.php on line 162
#2 /home/aletnelb/public_html/admin/controller/task/sale/contact.php on line 74
#3 /home/aletnelb/public_html/core/engine/dispatcher.php on line 306
#4 /home/aletnelb/public_html/core/engine/dispatcher.php on line 202
2023-09-26 16:38:02 - AMail. transport: Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport: Connection could not be established with host "ssl://smtp.gmail.com:465": stream_socket_client(): Peer certificate CN=`serv29.registerdomain.co.za' did not match expected CN=`smtp.gmail.com'
2023-09-26 16:38:02 - App Error: AbanteCart core v.1.3.4 AMail Errors: Connection could not be established with host "ssl://smtp.gmail.com:465": stream_socket_client(): Peer certificate CN=`serv29.registerdomain.co.za' did not match expected CN=`smtp.gmail.com'
Trace:
#0 /home/aletnelb/public_html/admin/controller/task/sale/contact.php on line 259
#1 /home/aletnelb/public_html/admin/controller/task/sale/contact.php on line 162
#2 /home/aletnelb/public_html/admin/controller/task/sale/contact.php on line 74
#3 /home/aletnelb/public_html/core/engine/dispatcher.php on line 306
#4 /home/aletnelb/public_html/core/engine/dispatcher.php on line 202
2023-09-26 16:38:02 - App Error: AbanteCart core v.1.3.4 Some errors during step run.
Trace:
#0 /home/aletnelb/public_html/admin/controller/task/sale/contact.php on line 204
#1 /home/aletnelb/public_html/admin/controller/task/sale/contact.php on line 197
#2 /home/aletnelb/public_html/admin/controller/task/sale/contact.php on line 74
#3 /home/aletnelb/public_html/core/engine/dispatcher.php on line 306
#4 /home/aletnelb/public_html/core/engine/dispatcher.php on line 202
2023-09-26 16:38:02 - Task_id: 11 : step_id: 11 - Failed. 0 emails sent.
step details:
array (
Title: Re: gmail smtp setup
Post by: Basara on October 04, 2023, 02:24:18 AM
Hello.
It seems that your server is blocking outgoing emails from external mail servers. This could prevent your emails from being sent. You should contact your hosting support and ask them to enable this feature.
Title: Re: gmail smtp setup
Post by: aletnelb on October 08, 2023, 06:09:17 AM
Hi Basara

So, if i understand correctly  you saying abantecart is blocking outgoing mail?

Or do you mean my website host?
Title: Re: gmail smtp setup
Post by: Basara on October 09, 2023, 01:36:49 AM
Hi Basara

So, if i understand correctly  you saying abantecart is blocking outgoing mail?

Or do you mean my website host?

Hello. The problem is not with AbanteCart. Your AbanteCart is software installed on a server (hosting) that does not allow it. You need to contact your server (hosting) provider and ask them to unblock it.