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

#1
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.

Al
Reply

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

#3
See fix on develop branch:
https://github.com/bcit-ci/CodeIgniter/c...911ba2be06

and use email library from this branch.

Cheers
Roger
Reply

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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