Post by markman-b » Tue Sep 27, 2011 10:31 pm

I'm figuring out how to send a copy of the contactmail to the original sender.
In this case I can show a message on the contact/success page, like: "A copy of this message has been sent to your mailbox. Please check your spamfolder blablabla".

Sending a copy of the message, is also a confirmation that the sender has entered a valid emailadress.

Does anyone know how to fix this?
Last edited by markman-b on Tue Sep 27, 2011 11:54 pm, edited 2 times in total.

OC version 1.5.4.1


Active Member

Posts

Joined
Wed Aug 24, 2011 7:13 pm

Post by uksitebuilder » Tue Sep 27, 2011 10:41 pm

catalog/controller/information/contact.php

find

Code: Select all

$mail->setTo($this->config->get('config_email'));
change to

Code: Select all

$mail->setTo(array($this->config->get('config_email'), $this->request->post['email']));

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

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

Post by markman-b » Tue Sep 27, 2011 10:46 pm

Many thanx! I envy your skills. It seems that OC has no secrets for you, isn't it? ;)

OC version 1.5.4.1


Active Member

Posts

Joined
Wed Aug 24, 2011 7:13 pm

Post by uksitebuilder » Tue Sep 27, 2011 10:47 pm

On the contrary, I'm learning every day

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

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

Post by i2Paq » Tue Sep 27, 2011 11:49 pm

Bookmarked!

Great solution and very professional.

Thanks uksitebuilder!

As this is now a [MOD] I have changed the title accordingly.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Maansy » Wed Sep 28, 2011 5:21 am

uksitebuilder wrote:On the contrary, I'm learning every day
That's what I call "top notch" attitude
I salute you Image

ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com


User avatar
Active Member

Posts

Joined
Thu Jun 24, 2010 6:04 am


Post by joy » Thu Oct 27, 2011 6:24 pm

Great! This is useful. I implement this at my site also. :)

OC version 1.5.1.3


joy
New member

Posts

Joined
Fri Oct 14, 2011 9:18 am
Who is online

Users browsing this forum: No registered users and 71 guests