Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

restrictions of javacript 1

Status
Not open for further replies.

kris727

Programmer
Nov 2, 2000
4
US
I would like to know if there is a place where i can find out about the restrictions of including javascript in the emails now that many client softwares now support HTML based emails. what can and what cannot be done in an HTML formatted emails sent ??
 
As far as I know, what's allowed and what isn't is up to the receiving email client. Could be wrong though...
:)
 
i wud like to know abt the most popular email clients like AOL, OUTLOOK and web based email like hotmail, yahoo etc

thanks for any pointers,
kris
 
hi kris,

I've only briefly tested sending js to hotmail, and my experience is that they strip ALL js from emails. I gave them this:
Code:
<html>
<body>
<script language=&quot;javascript&quot;>
alert(&quot;hello&quot;);
</script>
</body>
</html>

They turned it into this:
Code:
<SCRIPT>
<!--
function Filtered()
{
return 0
}
//-->
</SCRIPT>


<COMMENT language=&quot;javascript&quot;>

<!--
alert(&quot;hello&quot;);

// -->
</COMMENT>

I'm not sure where/if you can get each company's official stand on js in emails, but you could test sending an html-formatted email that tries to pop up an alert(&quot;hello world&quot;);, and see what happens...

-Jeff
 
And don't forget about the different script blocking/detecting from various anti-virus software packages, too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top