Then check mail settings
It still then share some more info
I send the two configurations one with Mail only and one with SMTP and neither works
On the host I have been told that there is a programming error in OC, but I am not a programmer
I no longer know what to do or who to turn to, the fact is that in previous versions if the sending of emails to the client and the web administrator worked.
Thanks again, if you can help me I will be very grateful ......
Attachments
La configuración de Correo - Correo-config.jpg (108.13 KiB) Viewed 2185 times
La configuración de SMTP - SMTP-config.jpg (114.45 KiB) Viewed 2185 times
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
Opencart Expert | sales[at]ost.agency
Skype - manish.osuniverse | Gtalk - manishmt
Extensions for Opencart @ https://www.ost.agency/product/product- ... extensions
ost.agency - ecommerce website design, development and digital company
https://www.w3schools.com/php/func_mail_mail.asp
That will tell you if it's the server or not.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Code: Select all
if ($this->parameter) {
mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header, $this->parameter);
} else {
mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header);
}
should be:
Code: Select all
if ($this->parameter) {
$sending = mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header, $this->parameter);
} else {
$sending = mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header);
}
if ($sending === false) error_log('ERROR Sending email to '.$to);
return $sending;
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
I have tried what you say and this error comes out .....
Attachments
mensaje error-5.jpg (114.34 KiB) Viewed 2045 times
Gracias...... pero, este codigo que me envías, ¿ A que fichero pertenece ?letxobnav wrote: ↑Fri Aug 30, 2019 8:53 pmOC should simply report if mail sending fails in the mail class:
Code: Select all
if ($this->parameter) { mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header, $this->parameter); } else { mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header); }
should be:
now it is anybodies guess.Code: Select all
if ($this->parameter) { $sending = mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header, $this->parameter); } else { $sending = mail($to, '=?UTF-8?B?' . base64_encode($this->subject) . '?=', $message, $header); } if ($sending === false) error_log('ERROR Sending email to '.$to); return $sending;
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
Users browsing this forum: No registered users and 21 guests