Page 1 of 1
J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 15 Feb 2023, 13:26
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
Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 15 Feb 2023, 13:27
by Alexander
Sorry, Phoca Cart Version 4.0.5, Phoca PDF 4.0
Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 18 Feb 2023, 20:00
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
Testing now in Joomla 4.2.8, see no problem
Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 19 Feb 2023, 11:34
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
Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 19 Feb 2023, 13:48
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)
Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 19 Feb 2023, 14:17
by Alexander
where in order statuses can I set that an PDF should be attached?
Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 19 Feb 2023, 14:19
by Alexander
Ohhh, I found it, it's email send (Format). It was just html!
Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 19 Feb 2023, 14:20
by Alexander
very well hidden
Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 19 Feb 2023, 14:23
by Alexander
It works! Thank you, Jan!!! You can close this ticket.
Re: J 4.2.7 Order/Invoice etc. PDFs not attached to customer emails
Posted: 19 Feb 2023, 20:49
by Jan
Ok