Forums / General Questions / send from email sent has our domain but email header is hosting company

send from email sent has our domain but email header is hosting company

Started by rcwebdev on 29 Jul 2015, 3:22 PM · Views: 1,014

Results 1 to 8 of 8
29 Jul 2015, 3:22 PM
#1
rcwebdev avatar

rcwebdev

New Zenner

Join Date:
Nov 2012
Posts:
27
Plugin Contributions:
0

send from email sent has our domain but email header is hosting company

Our send from email is set up as [email protected]

but header return our hosting company email is the email sender in the email header as
Received: from someinfo.hostdomain.com (someinfo.hostdomain.com

The email is received as "the store name via hostdomain.com"

How can I configure this to show the send from email that's configured in store admin ?

Is there something that works similar to the PHP mail function where the sender can be set with the -f parameter ?

Thank You

29 Jul 2015, 8:38 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: send from email sent has our domain but email header is hosting company

This is a question to ask your host - ZenCart does not have control of these particulars

Zen-Venom Get Bitten

29 Jul 2015, 10:53 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: send from email sent has our domain but email header is hosting company

RCwebdev:

How can I configure this to show the send from email that's configured in store admin ?

Is there something that works similar to the PHP mail function where the sender can be set with the -f parameter ?
Yes. Instead of using "PHP" as the transport method, use SMTPAUTH and provide your SMTP credentials in the corresponding settings.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Jul 2015, 2:20 PM
#4
rcwebdev avatar

rcwebdev

New Zenner

Join Date:
Nov 2012
Posts:
27
Plugin Contributions:
0

Re: send from email sent has our domain but email header is hosting company

Thank you for your replies.

If the host doesn't require SMTP authentication and I'm not sure how to configure it.

If I can send out mail from a php mail function with the f parameter, and we are on a Linux server is sendmail likely to work ?

Thank You

31 Jul 2015, 7:40 PM
#5
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: send from email sent has our domain but email header is hosting company

Ask your email hosting provider "What settings are needed to send email from
[insert store email address] using an email client?". These will be the same settings needed to configure SMTPAUTH in Zen Cart.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

1 Aug 2015, 3:04 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: send from email sent has our domain but email header is hosting company

RCwebdev:

If I can send out mail from a php mail function with the f parameter, and we are on a Linux server is sendmail likely to work ?
Maybe, but not as effectively as SMTPAUTH.
By providing auth credentials your emails will be sent as authenticated (logged in as a valid user of the email account doing the sending) and thus will look less like spam than any sendmail (with or without the -f) message would.

Your SMTPAUTH credentials are the same username, password, port, server name that you would use in Outlook or in your mobile phone etc to login to the email account.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Aug 2015, 11:44 PM
#7
rcwebdev avatar

rcwebdev

New Zenner

Join Date:
Nov 2012
Posts:
27
Plugin Contributions:
0

Re: send from email sent has our domain but email header is hosting company

Thank You, Dr Byte. I'll give it a try.

21 Aug 2015, 12:07 AM
#8
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: send from email sent has our domain but email header is hosting company

RCwebdev:

If the host doesn't require SMTP authentication and I'm not sure how to configure it.

it is highly doubtful in today's environment that your host does not require SMTP authentication...

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.