Post by braddog » Fri Oct 14, 2011 3:10 am

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.?)

New member

Posts

Joined
Fri Oct 14, 2011 3:04 am

Post by braddog » Fri Oct 14, 2011 3:13 am

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.

New member

Posts

Joined
Fri Oct 14, 2011 3:04 am

Post by uksitebuilder » Fri Oct 14, 2011 6:29 pm

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');

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by braddog » Tue Oct 25, 2011 2:49 am

Thanks mate really appreciate your help. Will do this now.

New member

Posts

Joined
Fri Oct 14, 2011 3:04 am

Post by cynhong » Sat Sep 21, 2013 4:58 pm

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.

Newbie

Posts

Joined
Sat Sep 21, 2013 4:46 pm
Who is online

Users browsing this forum: No registered users and 41 guests