Welcome Guest, Not a member yet? Register   Sign In
$this->email->print_debugger() Prints attachment data
#1

[eluser]ddutra[/eluser]
Hello everyone.

We are working on a project that uses CI email class and i'd like to say that it works fantastic. I find the print_debugger function very usefull, but there is something very annoying about it, it prints a bunch of stuff for each attachment on the email sent, resulting in a very long page.

We use print_debugger to test batch of emails and performance, and its kinda of hard to look at the debugger result with all that stuff.

Sample below
"
--B_ATC_4db9ceb467e14
Content-type: application/pdf; name="orcamento_5602_2693.pdf"
Content-Disposition: attachment;
Content-Transfer-Encoding: base64
THIS IS USEFULL!

JVBERi0xLjMKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZwovT3V0bGluZXMgMiAwIFIKL1BhZ2Vz
IDMgMCBSCi9PcGVuQWN0aW9uIDggMCBSID4+CmVuZG9iagoyIDAgb2JqCjw8IC9UeXBlIC9PdXRs
AND THIS GOES ON AND ON FOR LIKE 300 lines for a simple 3 page PDF, guess its
the data within the pdf translated to some PC language or w/e?

"

I would like to know what is the purpose of it, and what do i have to to to suggest it gets removed or turned into a parameter or something?

Thanks alot, and sorry for my english, not my native lang.

Best regards.




Theme © iAndrew 2016 - Forum software by © MyBB