I have a client who's got hosting with 123 Reg and emails with them as well but the emails are on a different package and not in the cPanel of the clients account. The opencart website is using version 3.0.3.8 and the contact form works and it's received in the store owners email inbox and the order confirmation sent to the store owner is received in their email inbox but the issue is with the order confirmation email that the customer should receive but the customers are not receiving the emails. The only time the customer receives a email is when the store owner updates the order status. Also the website is using a extension called form builder pro and it should sent the email to the store owner and the customer but the store owner and customer is receiving the email.
The website is using the Mail setting.
123 Reg says they can't find any issue and they gave me SMTP info to use but all that does is cause a blank white page on the contact page. They said to put localhost in the SMTP host field and leave the SMTP username and password blank and use 25 for the SMTP port. That don't make sense to me as never known to put localhost in the SMTP host field and to also leave the SMTP username and password blank as thought the email address and password needs to be in them fields.
Has anyone else had email issues with 123 Reg?
The website is using the Mail setting.
123 Reg says they can't find any issue and they gave me SMTP info to use but all that does is cause a blank white page on the contact page. They said to put localhost in the SMTP host field and leave the SMTP username and password blank and use 25 for the SMTP port. That don't make sense to me as never known to put localhost in the SMTP host field and to also leave the SMTP username and password blank as thought the email address and password needs to be in them fields.
Has anyone else had email issues with 123 Reg?
Last edited by ianhaney50 on Sat Jun 21, 2025 8:22 pm, edited 1 time in total.
Look in you PHP error log as well as the OpenCart error log to see what caused the blank page.
Try using an online email deliverability checker such as mail-tester.com to check for any issues with the emails being sent.
Try using an online email deliverability checker such as mail-tester.com to check for any issues with the emails being sent.
In the error logs on the admin side has the followingADD Creative wrote: ↑Fri Jun 20, 2025 11:44 pmLook in you PHP error log as well as the OpenCart error log to see what caused the blank page.
Try using an online email deliverability checker such as mail-tester.com to check for any issues with the emails being sent.
2025-06-20 16:49:28 - PHP Warning: fsockopen() expects parameter 5 to be float, string given in /home/servername/public_html/system/library/mail/smtp.php on line 88
In the error_log file on the server has the following
[20-Jun-2025 16:49:28 Europe/London] PHP Fatal error: Uncaught Exception: Error: () in /home/servername/public_html/system/library/mail/smtp.php:91
Stack trace:
#0 /home/servername/public_html/system/library/mail.php(142): Mail\Smtp->send()
#1 /home/servername/public_html/catalog/controller/information/contact.php(25): Mail->send()
#2 /home/servername/public_html/system/storage/modification/system/engine/action.php(79): ControllerInformationContact->index()
#3 /home/servername/public_html/catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
#4 /home/servername/public_html/system/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()
#5 /home/servername/public_html/system/engine/router.php(67): Action->execute(Object(Registry))
#6 /home/servername/public_html/system/engine/router.php(56): Router->execute(Object(Action))
#7 /home/servername/public_html/system/framework.php(169): Router->dispatch(Object(Action), Object(Action))
#8 /home/servername/public_html/system/startup.php(104): require_ in /home/servername/public_html/system/library/mail/smtp.php on line 91
In mail-tester.com, what do I put in the input field?
Sorry just found out how to use mail-tester.com
I've sent the instructions on how to use it, I'll post a update once they have done it
I've sent the instructions on how to use it, I'll post a update once they have done it
The client did the mail-tester.com steps and they got a score of 4.8/10ADD Creative wrote: ↑Fri Jun 20, 2025 11:44 pmLook in you PHP error log as well as the OpenCart error log to see what caused the blank page.
Try using an online email deliverability checker such as mail-tester.com to check for any issues with the emails being sent.
The minimum acceptable standard is 9.5 out of 10. You may refer to the report and implement any necessary fixes.ianhaney50 wrote: ↑Sat Jun 21, 2025 1:52 amThe client did the mail-tester.com steps and they got a score of 4.8/10
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
I looked online and it says anything lower than 8 is not good. I'm surprised to see it as low as 4.5. I didn't see any report as the client just sent me a screenshot of the score. I said to the client to send that to 123 Reg. Hopefully they can fix the issue or could it be a coding issue for the mail function?khnaz35 wrote: ↑Sat Jun 21, 2025 2:45 amThe minimum acceptable standard is 9.5 out of 10. You may refer to the report and implement any necessary fixes.ianhaney50 wrote: ↑Sat Jun 21, 2025 1:52 amThe client did the mail-tester.com steps and they got a score of 4.8/10
Most of the time its the mail server itself. If you or your client can't fix the issue feel free to post in the commercial section of forum to get support alternatively drop me email for estimate.ianhaney50 wrote: ↑Sat Jun 21, 2025 3:45 amI looked online and it says anything lower than 8 is not good. I'm surprised to see it as low as 4.5. I didn't see any report as the client just sent me a screenshot of the score. I said to the client to send that to 123 Reg. Hopefully they can fix the issue or could it be a coding issue for the mail function?
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
I'll see if I can see if there is any report when the client tried it. The client would not be able to fix it as they are not a developer and I'm not great at PHP code if it's advanced coding but will find out what the report says firstkhnaz35 wrote: ↑Sat Jun 21, 2025 3:48 amMost of the time its the mail server itself. If you or your client can't fix the issue feel free to post in the commercial section of forum to get support alternatively drop me email for estimate.ianhaney50 wrote: ↑Sat Jun 21, 2025 3:45 amI looked online and it says anything lower than 8 is not good. I'm surprised to see it as low as 4.5. I didn't see any report as the client just sent me a screenshot of the score. I said to the client to send that to 123 Reg. Hopefully they can fix the issue or could it be a coding issue for the mail function?
I've just sent you a emailkhnaz35 wrote: ↑Sat Jun 21, 2025 3:48 amMost of the time its the mail server itself. If you or your client can't fix the issue feel free to post in the commercial section of forum to get support alternatively drop me email for estimate.ianhaney50 wrote: ↑Sat Jun 21, 2025 3:45 amI looked online and it says anything lower than 8 is not good. I'm surprised to see it as low as 4.5. I didn't see any report as the client just sent me a screenshot of the score. I said to the client to send that to 123 Reg. Hopefully they can fix the issue or could it be a coding issue for the mail function?
That error is telling you the SMTP timeout value in your OpenCart settings is wrong. Try clearing it a setting a value of 30.ianhaney50 wrote: ↑Sat Jun 21, 2025 12:00 amIn the error logs on the admin side has the following
2025-06-20 16:49:28 - PHP Warning: fsockopen() expects parameter 5 to be float, string given in /home/servername/public_html/system/library/mail/smtp.php on line 88
In the error_log file on the server has the following
[20-Jun-2025 16:49:28 Europe/London] PHP Fatal error: Uncaught Exception: Error: () in /home/servername/public_html/system/library/mail/smtp.php:91
Ahh ok, I put in 30 in the SMTP timeout and tried again but got a blank page again on the contact form and checked the error log again and got the following errorADD Creative wrote: ↑Sat Jun 21, 2025 4:34 amThat error is telling you the SMTP timeout value in your OpenCart settings is wrong. Try clearing it a setting a value of 30.ianhaney50 wrote: ↑Sat Jun 21, 2025 12:00 amIn the error logs on the admin side has the following
2025-06-20 16:49:28 - PHP Warning: fsockopen() expects parameter 5 to be float, string given in /home/servername/public_html/system/library/mail/smtp.php on line 88
In the error_log file on the server has the following
[20-Jun-2025 16:49:28 Europe/London] PHP Fatal error: Uncaught Exception: Error: () in /home/servername/public_html/system/library/mail/smtp.php:91
"2025-06-20 21:51:04 - PHP Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/servername/public_html/system/library/mail/smtp.php on line 90
2025-06-20 21:51:04 - PHP Warning: fsockopen(): unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/servername/public_html/system/library/mail/smtp.php on line 90
That means your SMTP Hostname is incorrect or your server can't resolve it.ianhaney50 wrote: ↑Sat Jun 21, 2025 4:54 amAhh ok, I put in 30 in the SMTP timeout and tried again but got a blank page again on the contact form and checked the error log again and got the following error
"2025-06-20 21:51:04 - PHP Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/servername/public_html/system/library/mail/smtp.php on line 90
2025-06-20 21:51:04 - PHP Warning: fsockopen(): unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/servername/public_html/system/library/mail/smtp.php on line 90
Think I have found the issue. It seems the server does not like sending emails in HTML as 123 Reg created a basic php mail file and it only sends plain text emails so I done a test in it and it worked and the emails came through so does look like the server does not like sending emails in HTML.ADD Creative wrote: ↑Sat Jun 21, 2025 6:53 amThat means your SMTP Hostname is incorrect or your server can't resolve it.ianhaney50 wrote: ↑Sat Jun 21, 2025 4:54 amAhh ok, I put in 30 in the SMTP timeout and tried again but got a blank page again on the contact form and checked the error log again and got the following error
"2025-06-20 21:51:04 - PHP Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/servername/public_html/system/library/mail/smtp.php on line 90
2025-06-20 21:51:04 - PHP Warning: fsockopen(): unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/servername/public_html/system/library/mail/smtp.php on line 90
How do I change the code for the order emails so they do not send in HTML and send in plain text. Currently the store owner receives the order email but the customer does not receive the order email confirmation so guessing because the order email that gets sent to the customer is in HTML and the 123 Reg servers don't like it so they don't get sent
If you are only getting 4.5 in mail tester then the email being HTML could be getting marked as spam. If you change all the emails to not use HTML you can't guarantee these also won't get marked as spam at some point. I've seen plenty of plain text emails get marked as spam. A score that low suggests problems with the mail server configuration such as lack of SPF and DKIM.
If it is a case that the mail server won't sent HTML emails, you would be better getting the host to fix that or change hosts.
You could also try the latest mail.php and smtp.php from 3.0.4.1 as there have been some minor improvments.
If it is a case that the mail server won't sent HTML emails, you would be better getting the host to fix that or change hosts.
You could also try the latest mail.php and smtp.php from 3.0.4.1 as there have been some minor improvments.
The client did a second mail-tester.com email and they got a score of 8.5, think the first one they did, they did not add any text but the second test they did, they added text and got the 8.5/10 score.ADD Creative wrote: ↑Sat Jun 21, 2025 6:57 pmIf you are only getting 4.5 in mail tester then the email being HTML could be getting marked as spam. If you change all the emails to not use HTML you can't guarantee these also won't get marked as spam at some point. I've seen plenty of plain text emails get marked as spam. A score that low suggests problems with the mail server configuration such as lack of SPF and DKIM.
If it is a case that the mail server won't sent HTML emails, you would be better getting the host to fix that or change hosts.
You could also try the latest mail.php and smtp.php from 3.0.4.1 as there have been some minor improvments.
Will the latest mail.php and smtp.php files work on 3.0.3.8?
How are they using mail-tester.com? They need to send the email direct from OpenCart. That means placing a test order using the given email address.ianhaney50 wrote: ↑Sat Jun 21, 2025 7:00 pmThe client did a second mail-tester.com email and they got a score of 8.5, think the first one they did, they did not add any text but the second test they did, they added text and got the 8.5/10 score.
Will the latest mail.php and smtp.php files work on 3.0.3.8?
They should work I believe. You may need the mail.php in library as well. You could always test on a test site. Always backup up first.
They tried a test order using the email address mail-tester.com provided and the little boat just kept going across the screen.ADD Creative wrote: ↑Sat Jun 21, 2025 7:08 pmHow are they using mail-tester.com? They need to send the email direct from OpenCart. That means placing a test order using the given email address.ianhaney50 wrote: ↑Sat Jun 21, 2025 7:00 pmThe client did a second mail-tester.com email and they got a score of 8.5, think the first one they did, they did not add any text but the second test they did, they added text and got the 8.5/10 score.
Will the latest mail.php and smtp.php files work on 3.0.3.8?
They should work I believe. You may need the mail.php in library as well. You could always test on a test site. Always backup up first.
Regarding the mail.php and smtp.php files, is it the two in the system/library/mail folder that I need?
I've uploaded mail.php and smtp.php from opencart 3.0.4.1 download and uploaded the files in system/library/mail location and got the order confirmation email as a customer and the admin/store owner got the email as well so looks to be working all okADD Creative wrote: ↑Sat Jun 21, 2025 7:08 pmHow are they using mail-tester.com? They need to send the email direct from OpenCart. That means placing a test order using the given email address.ianhaney50 wrote: ↑Sat Jun 21, 2025 7:00 pmThe client did a second mail-tester.com email and they got a score of 8.5, think the first one they did, they did not add any text but the second test they did, they added text and got the 8.5/10 score.
Will the latest mail.php and smtp.php files work on 3.0.3.8?
They should work I believe. You may need the mail.php in library as well. You could always test on a test site. Always backup up first.
Thank you so much for all the help and replies, really appreciate it. I'll mark the post as solved in the title
Who is online
Users browsing this forum: Majestic-12 [Bot], Semrush [Bot] and 55 guests