Jump to content

[SOLVED] How to change the default email address for my shop


Recommended Posts

When I installing the prestashop 1.3.1 I used my gmail address and it became the admin user name. However, after my shop is up, the prestashop uses my gamil address as default email address and sending emails to customers. I want to use my shop email address (e.g. [email protected]) as the default email address for sending emails to customers. How can I change this default email address for sending mails out? Thank you so much!

By the way, I use PHP mail() function for sending emails.

Share this post


Link to post
Share on other sites

  • 5 months later...
  • 1 year later...
  • 1 year later...
  • 2 weeks later...

Has anyone problem with changing the Store contacts in PS 1.5.6.2?

 

I have tried to change it but it changes back everytime. Same with the E-mail under Advanced Parameters.

 

I have emptied my cache and stuff like that but those to fields dont want to change my e-mail. What am i doing wrong?

  • Like 2

Share this post


Link to post
Share on other sites

  • 7 months later...

Has anyone problem with changing the Store contacts in PS 1.5.6.2?

 

I have tried to change it but it changes back everytime. Same with the E-mail under Advanced Parameters.

 

I have emptied my cache and stuff like that but those to fields dont want to change my e-mail. What am i doing wrong?

 

I have same problem. I found fix but that not help on my case

 

 

 

There are a few reasons why Prestashop cannot send emails from your server, the most common ones are:

 

  • "From" field doesn't match your domain.
  • Incompatible additional headers.

Below are solutions to both:

In /tools/swift/Swift/Message.php line #79

Change

$this->setFrom("");

To

$this->setFrom("[email protected]");
 
In /tools/swift/Swift.php after line 370
if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from);

Add the following code:

if (!$has_reply_to[0])

$message->setReplyTo($from->getAddress());

Edited by kelpotek (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

Am with 1.6.0.9 and these issues have been driving me bananas too.

 

- Emails failing under PHP due to the DMARC issue (so shop emails to Hotmail and AOL addresses et al will certainly fail)

- Editing email in STORE CONTACTS is not stored

 

... have just fixed both by diving into the database and manually changing ****_configuration ... entry 357 - PS_SHOP_EMAIL to "[email protected]"

 

Now transactional emails get through and Store Contact has been changed ... and yes, this issue is still not fixed by Prestashop even in 1.6.0.9

  • Like 1

Share this post


Link to post
Share on other sites

Am with 1.6.0.9 and these issues have been driving me bananas too.

 

- Emails failing under PHP due to the DMARC issue (so shop emails to Hotmail and AOL addresses et al will certainly fail)

- Editing email in STORE CONTACTS is not stored

 

... have just fixed both by diving into the database and manually changing ****_configuration ... entry 357 - PS_SHOP_EMAIL to "[email protected]"

 

Now transactional emails get through and Store Contact has been changed ... and yes, this issue is still not fixed by Prestashop even in 1.6.0.9

 

 

My version was 1.6.0.5. I update to 1.6.0.9 but no change on that email problem so I change that same thing into database few days ago and it help. Sorry to forget tell it here  :rolleyes:

  • Like 1

Share this post


Link to post
Share on other sites

My version was 1.6.0.5. I update to 1.6.0.9 but no change on that email problem so I change that same thing into database few days ago and it help. Sorry to forget tell it here  :rolleyes:

 Great minds think alike

Share this post


Link to post
Share on other sites

  • 2 months later...

Am with 1.6.0.9 and these issues have been driving me bananas too.

 

- Emails failing under PHP due to the DMARC issue (so shop emails to Hotmail and AOL addresses et al will certainly fail)

- Editing email in STORE CONTACTS is not stored

 

... have just fixed both by diving into the database and manually changing ****_configuration ... entry 357 - PS_SHOP_EMAIL to "[email protected]"

 

Now transactional emails get through and Store Contact has been changed ... and yes, this issue is still not fixed by Prestashop even in 1.6.0.9

 

In my Prestashop (1.6.0.8) it was entry 355 in the ps_configuration. Changed the value and it worked like a charm! Please repair it in future.

Share this post


Link to post
Share on other sites

  • 7 months later...

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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More