Applescript newbie - How to use the 'email contents' function of Safar

Hi Guys,

I’m new to using AppleScript, I am running OSX 10.4 , and I wish to use Safari’s ‘email contents’ function to allow me to send HTML email templates.

I can do it manually, and when scripting I can get safari to open up the HTML document on my hard drive, but I cannot for the life of me figure out how to implement the ‘email contents’ function so that it just creates a new mail in Mail for me.

Any links to tutorials etc would also be helpful if anyone konws of any.

THanks for your help

Model: iBook 12" 1.2GHZ 768MB RAM
Browser: Safari 412
Operating System: Mac OS X (10.4)

I’d take a look that this MacOSXHints Article.
http://www.macosxhints.com/article.php?story=20050228113934687

Edit: Take a look at the comments too.