My app generates a web page.
What I would like to do is capture the final HTML output of the rendered page, after my code has constructed it with a variety of partials, into a variable so that I can tell the ‘swoosh’ emailer to use this captured rendering as the email’s body content.
Does anyone know how I could do this?