Hello Guys,
Recently joined the forum and have just setup an opencart website. I am after a bit of help with my store. I would like to have multiple email addresses for different things. For example I would like 1 for sales 1 for contacting us and maybe a feedback one.
So it would be sales@example.co.uk after you placed an order
enquiries@example.co.uk for any contact enquiries
and then a general feedback@example.co.uk
Any help on where I would add these in would be great. (If this is possible.?)
set the email address in your System Settings as the sales email address
then edit catalog/controller/information/contact.php
find
change to
then edit catalog/controller/information/contact.php
find
Code: Select all
$mail->setTo($this->config->get('config_email'));
Code: Select all
$mail->setTo('ENTER-YOUR-CONTACT-EMAIL-HERE');
Hi there, I tried to replace the code with my email address but it does not seems to work. Although when i tested in my contact page, i click on submit and it show my message have been successfully, but the email that i set in the code did not receive any email. I'm using opencart 1.5.5.1.
Is there anything that i'm missing.
In your post u did mention the steps below and i have done all. If i did not do the changes in the code, the email can be sent. So my email setting should be correct.
Steps:
set the email address in your System Settings as the sales email address
then edit catalog/controller/information/contact.php
find
CODE: SELECT ALL
$mail->setTo($this->config->get('config_email'));
change to
CODE: SELECT ALL
$mail->setTo('test@mydomainname.com');
Thanks in advance.
Is there anything that i'm missing.
In your post u did mention the steps below and i have done all. If i did not do the changes in the code, the email can be sent. So my email setting should be correct.
Steps:
set the email address in your System Settings as the sales email address
then edit catalog/controller/information/contact.php
find
CODE: SELECT ALL
$mail->setTo($this->config->get('config_email'));
change to
CODE: SELECT ALL
$mail->setTo('test@mydomainname.com');
Thanks in advance.
Who is online
Users browsing this forum: No registered users and 41 guests