invoice sent by pDF email is corrupted

Hello,

The PDF invoice automatically attached by email is wrongly generated.
the size is 18.2 KB.
When PDF is download from the interface, size of the file: 165.5 KB and it opens fine
This problem appeared with version 4.5.2.

to test, we installed a clean version 4.5.5 and tried to send an invoice by email.
The issue persists

what do you suggest?
thank you

https://invoice-ninja.readthedocs.io/en/latest/configure.html#troubleshooting

thank you

we had one all the test , issue persists

when we download it is fine, when we email it is corrupt.

what else can you suggest?

thank you

Sorry, all the suggestions I can provide are in the documentation.