Error sending email from template

Error sending email from template

I have made email templates with some html in it for Contacts and Leads.
When I send a mail based on these templates I get an error:

object HTMLScriptElement

The sent mail is completely empty! Anyone?
Paolo