sending a gridview as email

Hi, I’m using the mail extension for creating e-mails.

I would like to put the HTML table generated by a gridview into an e-mail, but the gridview is a widget and i don’t know how to capture the generated HTML. Any ideas ?

You may try setting the 3rd parameter of CController::widget() to true in order to capture the output. :)

it worked, thank you :)