views:

97

answers:

6

Is JavaScript supported in an email message?

+4  A: 

No, generally speaking email readers do not allow javascript.

jsight
+1  A: 

For most mail clients, no.

Mervyn
+3  A: 

Javascript is not supported in emails.

Ardman
That is not true. At least Outlook and Outlook Express support Javascript, which is one of the many reasons to avoid them (for security reasons).
PauliL
@PauliL: That depends if your Restricted Sites zone settings allow it.
Ardman
+1  A: 

It may be, but mail clients won't read it & mail servers may reject it. So leave it out.

Ed B
+2  A: 

You aren't going to get executable JavaScript onto a server and into a mail client. But emails DO support links, you can always link to your content within an email.

Sam152
+1  A: 

http://en.wikipedia.org/wiki/Comparison_of_e-mail_clients

Louts notes, Mozilla Thunderbird, Outlook Express and Windows Live Mail all seem to support some sort of JavaScript execution. Nothing else does. It seems like a bad idea security-wise, so I would expect this to be a feature that won't always be there even in these clients.

MatthewMartin