How can I send an HTML email with JavaScript from Gmail or Yahoo! Mail, to Gmail or Yahoo! Mail?
Javascript in Email
javascript;webmail
You shouldn't - allowing JavaScript to run in a e-mail client would be a huge security risk.I originally said you can't but it's been pointed out that some clients will execute the Javascript. So, hopefully Gmail and Yahoomail don't allow scripting for this very reason.On a personal note, I think HTML in e-mails should be avoided to. What's wrong with plain text?