Prestashop: The auto emails dont work properly

Created on 10 Jul 2019  路  18Comments  路  Source: PrestaShop/PrestaShop

The system isn't sending emails to clients I get the email telling me they have made a purchase but they are not getting any email with a receipt or instructions on how to pay, if they select to pay by Bitcoin or bank transfer they should get the email with the banking instructions, but they get nothing so I can not trade right now.

I run 3 sites and 1 is working perfectly and the other 2 don't, they are both suffering the same problems, even in the order management page where I would normally update the record to say payment complete I just get error messages and no emails are being sent.

Whats going on, what can I do to fix this error?

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots
If applicable, add screenshots or screenrecords to help explain your problem.

Additionnal information
PrestaShop version: N/A
PHP version: N/A

Bug Email No change required

All 18 comments

Hi @Allthejam,

Thanks for your report.
Could you please navigate to your Back office => Advanced Parameters => E-mail, try to " Test your email configuration" by sending a test email.
Thanks to check & feedback.

Hi, and yes I have done that many time now and every time I get the email, it's not the problem, the problem is that the clients do not get an email.
For example,
A client makes a purchase and chooses to pay by either Bank Transfer or Bitcoin, this is great they make the purchase I get an email telling me that they have made the purchase but they receive NO email with instructions on how to pay, and even when I update their status to canceled, paid or anything the system has an error and can't send them the email confirming the new status.

2019-07-10_152631

The problem is not me getting any emails I get them all just fine, it's the clients that are not getting any emails,

Can you help?

@Allthejam, could you please navigate to the BO => Shop Parameters => Order Settings => Statuses Tab & check for each status if "Send email to customer" is enabled.
image

Thanks!

Yes I have everything on,
2019-07-10_160401

I have created a new account to test for myself again and its all still the same
2019-07-10_160319

@Allthejam, Could you please provide us with more info? We need more details to understand how we can reproduce your issue:

  • host
  • server setup and configuration
  • PrestaShop version (source)
  • debug mode report
  • PHP error logs
  • apache error log
  • javascript console log

Don't you know how to get this information? Please read the following article:
http://build.prestashop.com/howtos/misc/how-to-create-bug-report/

Thanks!

Hey,

  1. Hosted - on One.com
  2. Server setup - PHP version 7.3
    Web server
    nginx/1.14.0
    Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
    PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
    PHP version: 7.2.17-0ubuntu0.18.04.1

Database server
Server: blu-pharma.com.mysql (blu-pharma.com.mysql.service.one.com via TCP/IP)
Server type: MariaDB
Server version: 10.3.12-MariaDB-1:10.3.12+maria~bionic - mariadb.org binary distribution
Protocol version: 10
User: [email protected]
Server charset: UTF-8 Unicode (utf8)

  1. Prestashop version - 1.7.5.2
  2. debug mode report -
  3. PHP error log -
  4. apache error log -
  5. javascript console log -

As for 4, 5, 6, & 7. I have no error logs not that I can find as for the debug I have no idea what I'm looking at.

Thank you

@Allthejam, PrestaShop is not compatible with PHP 7.3, in fact, PrestaShop 1.7.0 to 1.7.3 is compatible with PHP 7.1 and PrestaShop 1.7.4 & 1.7.5 are compatible with PHP 7.2.
For more details, you can follow this link: http://build.prestashop.com/news/prestashop-1-7-is-moving-to-symfony-3-4-and-php-5-6/
Next Major release PS1.7.7 will be compatible with PHP7.3.
Thanks to downgrade your version PHP, check & feedback.

Not good news, but changing it has not solved the problem in fact 1 of the sites I have is running PHP 7.1 and always has been so now I'm really stuck because the site I have that's all working correctly has been running on PHP 7.3,

The site that I was testing with you, I have modified it through 7.1, 7.2, 7.3 and a beta 7.4 and nothing there made a difference so I ruled out the PHP as an issue.

Any other ideas because Im totally lost.

Thank you.

@Allthejam, did you use the PHP's mail() function or SMTP parameters?

Thanks!

PHP's mail() function

Wasn't sure about the settings for SMTP

@Allthejam, did you checked your spam, it could be received in the spam.
Thanks!

That was the 1st this we checked, its an error in PS remember the image I sent showing the error message, it's just not sending any messages to clients or today it's not even sending me the test email anymore
2019-07-12_171022

@Allthejam, this is a server configuration server, you need to check with your host.
This option is recommended by default. In the event that this does not work, then use the SMPT option.

Thanks!

Can I only use the email account setting for outgoing mail that I used to create the account?
Because
Error: Please check your configuration

Expected response code 250 but got code "550", with message "550 5.7.1 Username [email protected] and sender [email protected] doesn't match "

I think you'll get it.

@Allthejam, could you please try to change it, check & feedback.

Where do I find and change the sender address?

Solved the problem for now anyway I think.

The email address on the CMS/Stores page has to be the same as the sender's address in the advanced parameters/email page, and once you get the correct SMTP info from the host it works, now it's just a case of settings on the individual payment gateway installed.

Thank you for all your assistance.

@Allthejam, thanks for your feedback.
I close the issue, feel free to open a new one when needed.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marionf picture marionf  路  3Comments

Van-peterson picture Van-peterson  路  3Comments

nrcjea001 picture nrcjea001  路  3Comments

PrestaShark picture PrestaShark  路  3Comments

vincent-dp picture vincent-dp  路  3Comments