Home › Forums › Support › Attach invoice to e-mail with password protection enabled This topic contains 3 replies, has 2 voices, and was last updated by Hillel Coren 8 months, 3 weeks ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 27, 2018 at 2:53 pm #17870 lordpayderParticipant 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. December 27, 2018 at 5:27 pm #17874 Hillel CorenKeymaster Try adding a random value for PHANTOMJS_SECRET in the .env file https://invoice-ninja.readthedocs.io/en/latest/configure.html#phantomjs December 27, 2018 at 7:02 pm #17875 lordpayderParticipant Working, thanks! December 27, 2018 at 8:31 pm #17878 Hillel CorenKeymaster Glad to hear it! Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.