Post by CD-Nico » Sat Jun 21, 2025 6:54 pm

Dear Friends,
Since 2010 opencart working fine, updated years ago too 2.3.x version and nice theme.
Since 13-06-2025 mails dont sended anymore from opencart. Only opencart.
- Tested mail server contact, all working fine,
- Spam tester 10/10,
- Smtp settings are working fine, tested on other websites like wordpres,
- html mail test and all working fine,
- Removed Chache
- Removed folder and replace from 2.3.x
but for some reason opencart not sending mails.
Not In contact form, orders, notifications...etc
Only error i found is:

Code: Select all

 PHP Unknown:  Array and string offset access syntax with curly braces is deprecated in /public_html/system/library/mpdf/mpdf.php on line 2360
2025-06-21 12:21:13 - 
TOO NUMBER-  on line 3056
Exmaple error: 2360 to 2363

Code: Select all

if ($pb['col']{0} == 5) { // RGBa
						$s .= $this->SetAlpha(ord($pb['col']{4}) / 100, 'Normal', true, 'F') . "\n";
					} elseif ($pb['col']{0} == 6) { // CMYKa
						$s .= $this->SetAlpha(ord($pb['col']{5}) / 100, 'Normal', true, 'F') . "\n";
Next error number: 2440 to 2443 etc....

Code: Select all

					if ($pb['col']{0} == 5) { // RGBa
						$s .= $this->SetAlpha(ord($pb['col']{4}) / 100, 'Normal', true, 'F') . "\n";
					} elseif ($pb['col']{0} == 6) { // CMYKa
						$s .= $this->SetAlpha(ord($pb['col']{5}) / 100, 'Normal', true, 'F') . "\n";
PHP 7.4 also worked on PHP 8.0
Version 2.3.x
Domain anaconda-reptiles.eu

Im out off options here and stuck, hope sombody have working solution
Regards Nico
Last edited by CD-Nico on Sat Jun 21, 2025 7:04 pm, edited 1 time in total.

Newbie

Posts

Joined
Sat Jan 29, 2022 4:37 pm

Post by ADD Creative » Sat Jun 21, 2025 7:03 pm

Check both the PHP and OpenCart error logs if you haven't already. Have you check the mail server logs to see if the emails are getting to the mail server? In cPanel you can look under Track Delivery.

Have you tried sending an email direct from OpenCart to a tester such as mail-tester.com?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by CD-Nico » Sat Jun 21, 2025 7:09 pm

Hello,
Mails are not getting to mail server, other websites working fine to mail server.
From opencart nothings work since 13-06-2025
Orders we get in admin, but we dont get mails, also the client does not recieve.
We tested it with proton, gmail, hotmail mails, only opencart does not send it.
ADD Creative wrote:
Sat Jun 21, 2025 7:03 pm
Check both the PHP and OpenCart error logs if you haven't already. Have you check the mail server logs to see if the emails are getting to the mail server? In cPanel you can look under Track Delivery.

Have you tried sending an email direct from OpenCart to a tester such as mail-tester.com?

Newbie

Posts

Joined
Sat Jan 29, 2022 4:37 pm

Post by ADD Creative » Sat Jun 21, 2025 7:15 pm

If you are using SMTP as the mail engine and you are not getting any errors to say sending failed, then that suggest an issue with your mail server.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by CD-Nico » Sat Jun 21, 2025 7:18 pm

ADD Creative wrote:
Sat Jun 21, 2025 7:15 pm
If you are using SMTP as the mail engine and you are not getting any errors to say sending failed, then that suggest an issue with your mail server.
5 Sites running under same mail server and only opencart does not work. Other 4 sending mails like butter.
Only error is MPDF, tested under php 7.4 and 8.1 version.

Newbie

Posts

Joined
Sat Jan 29, 2022 4:37 pm

Post by CD-Nico » Sat Jun 21, 2025 7:51 pm

Update:
Set PHP to 7.x again and rebooted my server.
Set to MAIL and mails are sending.
SMTP settings are correct but don't send. Changed port from 587 to 465 to 25 but nothings works in SMTP

Newbie

Posts

Joined
Sat Jan 29, 2022 4:37 pm

Post by CD-Nico » Sat Jun 21, 2025 8:02 pm

Can be closed now.
Find the problem after a server upgrade last week, i needed to change the smtp url: from mail.domain.com too tls://mail.domain.com
That was the solution.
Hope it helps others with the same problems. ;)

Newbie

Posts

Joined
Sat Jan 29, 2022 4:37 pm
Who is online

Users browsing this forum: No registered users and 4 guests