Welcome Guest, Not a member yet? Register   Sign In
Email->_finalbody
#1

[eluser]skunkbad[/eluser]
For debugging purposes, I've been writing emails to file on my development machine. Right now I just write the HTML contents, which is the same thing that goes inside Email->message(). For what I'm working on today, I'd like to see the raw email, what I believe the email class calls $_finalbody, but I've tried adding $_finalbody to the end of the HTML as a comment, and also tryed sending it to the console. In both cases, $_finalbody is empty. The email and attachment get sent just fine, but I'd like to know why I can't see anything in $_finalbody for debugging purposes. I am checking it before clear() BTW.

Edit: I forgot to mention that for this application I'm using a older version of CI where $_finalbody is in public scope/visibility.
#2

[eluser]InsiteFX[/eluser]
What version our you using there skunkbad?
#3

[eluser]skunkbad[/eluser]
2.0.3




Theme © iAndrew 2016 - Forum software by © MyBB