Contact Us Emails Coming From Us

Open to all! Ask other shopowners for help.
Post Reply
cbs
Member
Posts: 46
Joined: Tue Oct 26, 2021 9:42 am
Phoenix Version: v1.1.0.6
Has thanked: 8 times
Been thanked: 6 times

Contact Us Emails Coming From Us

Post by cbs »

Hi,

Just wondering if this is the new normal or have I messed something up? The email comes through normally but the
From and To are our email address.

For a temporary fix I've added

Code: Select all

$enquiry = 'From: ' . $email_address . "\n\n" . $enquiry;
to the top of the email which provides us the email address.

Thanks


Join The Code Co-op to get access to your library in the Code Co-op Forum
BrockleyJohn
Certified Developer
Posts: 173
Joined: Mon Mar 01, 2021 5:37 pm
Phoenix Version:
Has thanked: 2 times
Been thanked: 30 times

Re: Contact Us Emails Coming From Us

Post by BrockleyJohn »

Yes, you can no longer set the From to be a different domain - the email gets blocked.

The reply-to is set so when you hit reply it goes to them and not to yourself.
cbs
Member
Posts: 46
Joined: Tue Oct 26, 2021 9:42 am
Phoenix Version: v1.1.0.6
Has thanked: 8 times
Been thanked: 6 times

Re: Contact Us Emails Coming From Us

Post by cbs »

That's the odd thing, it reply's to us.
The header says
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: OUR EMAIL
Reply-to: CUSTOMERS EMAIL

But it replies to us, could it be our hosting company causing the problem?
Nigel
Contributor
Posts: 114
Joined: Mon Jan 11, 2021 1:39 am
Phoenix Version:
Has thanked: 29 times
Been thanked: 8 times

Re: Contact Us Emails Coming From Us

Post by Nigel »

Not sure if this is relevant in this situation but there have been some changes with SMTP protocols.

Preferred port numbers have changed slightly and allowance for SSL has also been changed.
The settings below were part of what helped me in the ini file used by my software.
Online security is evolving a lot and older / legacy software isn't always up to the task without some tweaks.

You'll need to check with your hosts about what they need specific to their service and also what Phoenix requires / uses.

SMTPPORT=587
REQUIRES_SSL=YES
SMTPSecureConnection=YES


Good luck.
cbs
Member
Posts: 46
Joined: Tue Oct 26, 2021 9:42 am
Phoenix Version: v1.1.0.6
Has thanked: 8 times
Been thanked: 6 times

Re: Contact Us Emails Coming From Us

Post by cbs »

Thanks, I'll speak to our hosting company and see what they say.
cbs
Member
Posts: 46
Joined: Tue Oct 26, 2021 9:42 am
Phoenix Version: v1.1.0.6
Has thanked: 8 times
Been thanked: 6 times

Re: Contact Us Emails Coming From Us

Post by cbs »

It was a host issue, it is now resolved.
Nigel
Contributor
Posts: 114
Joined: Mon Jan 11, 2021 1:39 am
Phoenix Version:
Has thanked: 29 times
Been thanked: 8 times

Re: Contact Us Emails Coming From Us

Post by Nigel »

cbs wrote: Mon Mar 09, 2026 11:29 am It was a host issue, it is now resolved.
Was it to do with the newer settings requirements ?
cbs
Member
Posts: 46
Joined: Tue Oct 26, 2021 9:42 am
Phoenix Version: v1.1.0.6
Has thanked: 8 times
Been thanked: 6 times

Re: Contact Us Emails Coming From Us

Post by cbs »

Probably, we weren't happy with our hosting company so we moved and it was working correctly straight away.
Nigel
Contributor
Posts: 114
Joined: Mon Jan 11, 2021 1:39 am
Phoenix Version:
Has thanked: 29 times
Been thanked: 8 times

Re: Contact Us Emails Coming From Us

Post by Nigel »

cbs wrote: Mon Mar 09, 2026 3:47 pm Probably, we weren't happy with our hosting company so we moved and it was working correctly straight away.
At least it's resolved.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply