:-(
Shoot. I was so happy I found the cause that I didn't even follow the link. (Something I shall rectify shorlty)
I don't know if it would have helped or not in this case - because one of the symptoms (or lack of) was the fact that the emails were actually being sent (and received by the recipient's server) before the 'checkout success' page was loaded.
It as though the process was going something like this
- order gets created
- emails get sent
- mail process hangs around for 90 seconds doing nothing
- cart gets cleared
- Checkout success page displayed
After I'd discovered that it was the mail process holding things up I upped the logging level up a few notches on the mail server and observed what was going on - In a word 'nothing' was going on during that 90 seconds.
The entry prior to the delay is/was "Message accepted for Delivery"
The next entry (90 seconds later) is/was the "stat=Sent (OK)" message.
I am now celebrating having found the solution. It was a TLS certificate issue - or more specifically, the server didn't have (or had somehow lost) its sendmail.pem file (there were warnings about this in the log files when the server got started, but as mails were being sent received with no apparent issue I hadn't taken much notice of it until now).
Anyway, I recreated this file, restarted the mail server and all is good.
Cheers
RodG
Bookmarks