Attach invoice to e-mail with password protection enabled


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

Working, thanks!

Glad to hear it!