Jump to content

How to change "mail from" address in emails sent by contact form


PatJ

Recommended Posts

Hi there,

 

As I can see, when an email is sent by the contact form, the "from" address is the email of the person feeding the form. ( example, emails with domain such as gmail.com , yahoo.com, etc..)

(I am still using PS 1.6)

I wish to change this so that "mail from" adress would be the adress of the shop (adress set in "Contact")

Is it possible to tell me where to do so ?

 

Thank you for your help,

Link to comment
Share on other sites

Hi,
I don't fully understand your question. If someone sends an email from your contact form, the from address is the email you entered in Shop Parameters -> Contact -> Stores. The recipient is the one you entered under Shop Parameters -> Contact -> Contacts. The reply address is the one your customer entered. 

So which email do you want to change?
Thanks,

Link to comment
Share on other sites

Hello

 

Thank you for your answer.

In my 1.6.1.20 Prestashop, I don't have Shop Parameters -> Contact -> Stores neither Shop Parameters -> Contact -> Contacts

In Preferences > Store Contacts   I have our email, and I don't want to change our email. It is ok.

 

When someone send an email from the contact form, the "From" adress is not our contact email, or our store email, or any of our emails. The email "from" address is the email the customer used when he completed the contact form.

Exemple, if customer John Doe (email [email protected]) complete our contact form, so the email will be sent to our adress with john.doe@gmail as "from" adress.

This is what I want to modifiy,

 

Thank you for your help,

 

Link to comment
Share on other sites

Hello

 

Thank you for your answer.

I am quite suprised I have to do this in the code. The host of our web site told us they will soon change their mail server configuration and will not allow any more a "from" address to be with a different domain from our domain name. As far as I know this would be in line with what is done most of the time on mail servers to avoid spam.

This is why I am looking at this.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...