J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Phoca Cart - complex e-commerce extension
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Alexander »

Hi Jan

Sorry to disturb you. I have Phoca Cart installed as you described for J3 -> J4 and it's working perfectly on J4.2.7. I have installed and configured Phoca PDF and Phoca PDF for Phoca Cart as described in the documetation (Plugin activated). I can see the PDFs properly formatted in the Phoca Cart -> Orders. But for some reason they are not anymore attached to the emails I send to customers. It worked perfectly for J3.7.11.

Any idea what I could have missed?

Kind regards and thank you

Alexander

Tags:
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Alexander »

Sorry, Phoca Cart Version 4.0.5, Phoca PDF 4.0
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Jan »

Hi, are you 100% sure that the PDF attachment is set in right order status?

As this happens between user and server, you cannot see possible error so the only chance is to enable logging of errors on your server and try to see the log after sending :idea:

Testing now in Joomla 4.2.8, see no problem :idea:

Image
If you find Phoca extensions useful, please support the project
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Alexander »

Hi Jan

I set error reporting to max and got the following errors. Not very informative, I think. I also tried sendmail and PHP mail as mail agents, same result. Mails are sent, email formating is perfect, just no PDF attachment.

2023-02-19T09:46:46+00:00 ERROR 178.199.42.13 mail Error in Mail API: Result: true
2023-02-19T09:46:46+00:00 ERROR 178.199.42.13 mail Error in Mail API: Sending with sendmail
2023-02-19T09:46:46+00:00 ERROR 178.199.42.13 mail Error in Mail API: Sendmail path: /usr/sbin/sendmail
2023-02-19T09:46:46+00:00 ERROR 178.199.42.13 mail Error in Mail API: Sendmail command: /usr/sbin/sendmail -oi -t
2023-02-19T09:46:46+00:00 ERROR 178.199.42.13 mail Error in Mail API: Envelope sender:
2023-02-19T09:46:46+00:00 ERROR 178.199.42.13 mail Error in Mail API: Headers: Date: Sun, 19 Feb 2023 10:46:46 +0100
To: shop@hai.swiss
From: Test Hai-Stiftung / Shark Foundation <info@hai.swiss>
Reply-To: Test Hai-Stiftung / Shark Foundation <info@hai.swiss>
Subject: Hai Shop Bestellung HSO20230249 Max Meier-Test in Bearbeitung
Message-ID: <hqUXMkHer9s5f34ifM6HktOfGXxkIhCGp3O0DcyeF4@haistiftung.ch>
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

Alexander
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 389
Joined: 07 Nov 2018, 14:55

Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Nidzo »

Did you check your order statuses after migration? Is it PDF included in e-mail settings?
Try to manually edit order status and include PDF only when you notify customer or your self (create test order for this purpose)
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Alexander »

where in order statuses can I set that an PDF should be attached?
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Alexander »

Ohhh, I found it, it's email send (Format). It was just html!
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Alexander »

very well hidden ;)
Alexander
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 15 Jan 2020, 17:36

Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Alexander »

It works! Thank you, Jan!!! You can close this ticket.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply