We have a form that is submitted and the results displayed to the user using php. As far as I am aware there is no way of styling a cgi email, nor a php email to look like the html page. I have tried with php (which I am not familiar with) but as far as I can see it will not work because there are other php captions inside what would be emailed from the submission of the form.
The easiest way would be to email the contents of the div if that is possible. I found and AJAX script written by Jonathan Sampson. Although this sends an email, rather than email the div I receive the from, to, subject etc... but the content simply says null.
The script by Sampson is here. Does anyone know how to make it work http://stackoverflow.com/questions/1827767/email-div-content-in-php