DIGIT-ARC read-only archive · snapshot: July 23, 2026

How to add JavaScript to email?

5 posts · originally from https://geek.digit.in/community/threads/how-to-add-javascript-to-email.25678/

nagarjun_424
nagarjun_424 Original post #1
Mar 19, 2006 at 10:40 AM
Hi!

Can someone please tell me how to add JavaScript to an email? I tried several menthods but it did not work.

Please tell me how to do this!

I use gmail and outlook express with gmail.

Thanks.
tuxfan
tuxfan #2
Mar 20, 2006 at 1:35 PM
In Outlook Express open a new mail window. Click on View > Source Edit.

Now click on "Source" at the bottom. It will open up HTML source of the mail under composition. Add whatever Javascript you want to add here.
it_waaznt_me
Mar 20, 2006 at 5:58 PM
Hmm.. Personally I wont recommend it. Javascript in an email is a sure way to get your mail flagged as spam.
tuxfan
tuxfan #4
Mar 20, 2006 at 6:45 PM
:lol: Thats right. But I treated this question as an academic one :D Knowledge (and spam) have no boundaries ;)
it_waaznt_me
Mar 20, 2006 at 8:04 PM
Hahah .. Agreed .. :p