Home Forums Support Attached PDF in email broken

This topic contains 2 replies, has 2 voices, and was last updated by  timo002 3 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2567

    timo002
    Participant

    Hello,

    This week I was creating some invoices and send them to my customer by email. Unfortunately the PDF attached to the e-mail was broken. It is just 1KB in size and when opening the pdf I get an error message that the file might be broken.

    I haven’t changed the PhantomJs key, don’t know if that’s why the pdf is broken?

    #2568

    Hillel Coren
    Keymaster

    Which version are you running?

    We saw a problem about 6 weeks ago with the PDFs and updated the getPDFString function in app/Models/Invoice.php to correct it.

    https://github.com/invoiceninja/invoiceninja/blob/master/app/Models/Invoice.php#L745

    #2569

    timo002
    Participant

    I was running an older version, 2.8.x? I believe. I just updated to the latest version.

    I didn’t notice it before, but it doesn’t happen al the time. I saw it once during testing, and this is the first time when sending to a real customer.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Posted in: