Post by Rainforest » Sat Jan 05, 2019 6:43 am

I'm having a weird issue....
I switched to SMTP months ago. It's much better to get mail delivered.

When I get a contact inquiry email I receive and the reply to is weird.

from: Customer Email Addres <but my email address in brackets>
reply-to: "customer email address" <customer email address>
to: my@email-adress
date:
subject:
mailed-by: my domain

So, the issue is, when I hit REPLY in gmail. It puts my OWN store address in the reply to. This is happening on both my stores.

my SMTP settings are:

Mail Protocol - SMTP
Mail Parameters - BLANK

SMTP Hostname
ssl://smtp.gmail.com

SMTP Username
my user name

SMTP Password
my password

SMTP Port
465

SMTP Timeout
5

Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by OSWorX » Sat Jan 05, 2019 8:30 pm

Okay fine.
And now - do you expect an answer .. to what?

Forum Rules [en]: viewtopic.php?f=176&t=200480
Forumregeln [de]: viewtopic.php?f=37&t=114208
Commercial Request: viewforum.php?f=88

Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Rainforest » Sun Jan 06, 2019 5:35 am

oh, after time away from the forum, it's so lovely to get one of your snarky replies OSX. Really I missed it.

Per my post above:

So, the issue is, when I hit REPLY in gmail. It puts my OWN store address in the reply to. This is happening on both my stores.

So, when i get an inquiry from the contact us form. I hit reply in gmail and the reply address is my own.
Like the store email address.
Not the customer email address.

Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by ADD Creative » Sun Jan 06, 2019 6:59 am

The issue seems to be with Gmail ignoring the reply-to field. Someone else reported this in the forum not long ago.

What are your $mail->setTo, $mail->setFrom and $mail->setReplyTo set to in catalog/controller/information/contact.php? https://github.com/opencart/opencart/bl ... ct.php#L21

Also check system/storage/modification/catalog/controller/information/contact.php.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Rainforest » Wed Jan 09, 2019 2:08 am

They are:

$mail->setTo($this->config->get('config_email'));
$mail->setFrom($this->request->post['email']);
$mail->setSender(html_entity_decode($this->request->post['name'], ENT_QUOTES, 'UTF-8'));
ADD Creative wrote:
Sun Jan 06, 2019 6:59 am
The issue seems to be with Gmail ignoring the reply-to field. Someone else reported this in the forum not long ago.

What are your $mail->setTo, $mail->setFrom and $mail->setReplyTo set to in catalog/controller/information/contact.php? https://github.com/opencart/opencart/bl ... ct.php#L21

Also check system/storage/modification/catalog/controller/information/contact.php.
Any ideas?

Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by ADD Creative » Wed Jan 09, 2019 3:22 am

That should work. However you could try adding.

Code: Select all

$mail->setReplyTo($this->request->post['email']);
And possibly changing the from to to use your store email if just adding the reply-to doesn't help.

Code: Select all

$mail->setFrom($this->config->get('config_email'));
Other than that is to contact Google support to find out how to stop them ignoring the reply-to header. I'm assuming you are using the paid for Google mail and not the free Gmail, which is not meant for commercial use. Or maybe search the internet for "gmail ignoring reply-to header".

You could also look at changing your email host from Gmail.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Rainforest » Wed Jan 09, 2019 9:00 am

Thanks. I will contact Google (we are using GAPPS commercial). It seems like it's not just relegated to SMTP but also Mail . We def do not want to us MAIL because it's not authenticated like SMTP.

A quick Google shows other have had this issue in the past. So Google must have updated something as this only started happening in the past couple of weeks.

Funny thing, on my mobile (android). The reply-to is working fine. So it's definitely Google Web Client. Bummer!

Thank you for input though. It's appreciated!

Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am
Who is online

Users browsing this forum: secure-bay and 18 guests