CFMail in script with ColdFusion 9
You will find the cfc's Adobe made to extend script support. I opened up the mail.cfc and worked out how to use the function. Here is a small example.
Of course to, from, subject etc can be strings they don't have to be variables.