I need to embed an applet in an HTML based email and have it run when you
either open the email or click on a button. I managed to include it as a
mime attachment with a Content-ID like an image but it doesn't seem to work
the same way:

-- this works...
<IMG src="cid:mypicture.gif@work" align=bottom>

-- this doesn't work...
<APPLET name=HelloWorldApplet code="cid:HelloWorldApplet.class@work"
width=320 height=200>
</APPLET>

I assume that the problem is "code=cid:".