Page 1 of 1
HELP Multiple e-mails
Posted: Fri Oct 14, 2011 3:10 am
by braddog
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.?)
Re: HELP Multiple e-mails
Posted: Fri Oct 14, 2011 3:13 am
by braddog
Sorry would only be sales and enquiries the feedback one I realised I don't need.
Oh and also if possible could I auto reply back to the customer or should I set that up from outlook.
Re: HELP Multiple e-mails
Posted: Fri Oct 14, 2011 6:29 pm
by uksitebuilder
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('ENTER-YOUR-CONTACT-EMAIL-HERE');
Re: HELP Multiple e-mails
Posted: Tue Oct 25, 2011 2:49 am
by braddog
Thanks mate really appreciate your help. Will do this now.
Re: HELP Multiple e-mails
Posted: Sat Sep 21, 2013 4:58 pm
by cynhong
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.