• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Empty PDF files in emails after update to 3.1.0

Hi everyone

After I have updated CodeIgniter from 3.0.6 to 3.1.0, because of the RSET and timeout fixes of the SMTP connections and suddenly have another problem at hand. When I attach a PDF file to an email. It arrives empty. Well, more precisely it arrives "size unknown" and I can't open it.

I use FPDF to create the PDF. But it works in 3.0.6, so I assume it has something to do with the inline attachment fix.

Does anyone have an idea?

All help is much appreciated.


I recommend you use the library Swiftmailer.
It is easy to integrate with CI.

See fix on develop branch:

and use email library from this branch.


CI3.1.1 is released, just upgrade to that and it'll solve your issue.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.