New order confirmation email is not sent to customer
Posted: Wed Aug 17, 2022 4:36 pm
Hi, I know there are quite a few threads here that I've read, but my problem is a bit different. The customer receives an email upon registration, as well as upon changing the status of the order. Not receiving confirmation email on new order only.
I use opencart 1.5.6.4 version with Sellegance theme.
My mail settings:
Mail Protocol: Mail
Mail Parameters: Empty
SMTP Host: localhost
SMTP Username: orders@etop.bg
SMTP Password: pass of email
SMTP Port: 465
SMTP Timeout: 5
From what I read on the other posts, I did the following with no success.
Checked:
1. in: catalog/model/checkout/order.php
find:
Code: Select all
$html = $template->fetch('default/template/checkout/mail/order.tpl');
change to:
Code: Select all
$html = $template->fetch('default/template/mail/order.tpl');
2. in order.php found openbay code and marked as note
3. Remove second new line in system/library/mail.php on line 97,
i.e. replace
$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline;
with
$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline;
4. Download clear version of 1.5.6.4 and replace /catalog/language/english/mail/order.php
Unfortunately, none of the above methods helped. I contacted my hosting and after checking with them, they said there are no issues or records of such about them.
I use opencart 1.5.6.4 version with Sellegance theme.
My mail settings:
Mail Protocol: Mail
Mail Parameters: Empty
SMTP Host: localhost
SMTP Username: orders@etop.bg
SMTP Password: pass of email
SMTP Port: 465
SMTP Timeout: 5
From what I read on the other posts, I did the following with no success.
Checked:
1. in: catalog/model/checkout/order.php
find:
Code: Select all
$html = $template->fetch('default/template/checkout/mail/order.tpl');
change to:
Code: Select all
$html = $template->fetch('default/template/mail/order.tpl');
2. in order.php found openbay code and marked as note
3. Remove second new line in system/library/mail.php on line 97,
i.e. replace
$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline;
with
$header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline;
4. Download clear version of 1.5.6.4 and replace /catalog/language/english/mail/order.php
Unfortunately, none of the above methods helped. I contacted my hosting and after checking with them, they said there are no issues or records of such about them.