hi
i want to konw how can i send confirm email when a people use contact us in opencart??i want to send copy of mail in contact us send to the user ?
best regards
Hi jan,
Try this:
Go to catalog/controller/information/contact.php
Locate this line:
After this line add this code:
I don't know if this code works but, try it.
Try this:
Go to catalog/controller/information/contact.php
Locate this line:
Code: Select all
$mail->send();
Code: Select all
$mail->setTo($this->request->post['email']);
$mail->setFrom($this->config->get('config_email'));
$mail->setSender($this->config->get('config_name'));
$mail->setSubject(html_entity_decode(sprintf($this->language->get('email_subject'), $this->request->post['name']), ENT_QUOTES, 'UTF-8'));
$mail->setText(strip_tags(html_entity_decode($this->request->post['enquiry'], ENT_QUOTES, 'UTF-8')));
$mail->send();
Who is online
Users browsing this forum: Bing [Bot] and 142 guests