I am writing a php application which (amongst other things) creates some reports for emailing. I want to enable my customer to click on a "create emails" button which will cause a number of email client windows to open pre filled with data, so that my customer can check the content before sending the emails.
I could generate an html page with a number of mailto tags on, which the customer then clicks on to open the emails (for checking) before sending, but this is obviously labour intensive and part of the reason I'm writing this php application. Is the solution to have some javascript on the generated html page which fires all the mailto links on page load? Or is there a better way?
ADDITIONAL EDIT: The key point is that the customer needs to manually check the content before the emails are sent - sorry I have not been clear. The customer has since specified that he wants the emails to appear as draft pre-composed emails in his email client rather than appearing on a web page.
Thanks