Attach invoice to e-mail with password protection enabled

Hello,

I’d like to attach invoices to my e-mails.
It’s working fine without password protection to access the invoice in the customer portal. The Test is also working perfect.

After enabling password protection, the pdf generation for email attachment fails.

Thanks for your help.

Try adding a random value for PHANTOMJS_SECRET in the .env file

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

Working, thanks!

Glad to hear it!