Hi, I am trying to send the following HTML mail thru the ASP CDO component. This is the HTML mail i wanna send from Page 1: <div align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="820" height="540"> <param name="movie" value="http://mywebsite.com/movie1.swf"> <param name="quality" value="high"> <embed src="http://mywebsite.com/movie1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="820" height="540"></embed></object> </div></td> </tr> </table> </div> Code (markup): This the the code of the second page which sends the mail. <% Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="mymail@mydomain.com" myMail.To="someone@somedomain.com" myMail.HTMLBody = request.form("txtmessage") myMail.Send set myMail=nothing %> Code (markup): My mail contains absolute path of the the SWF file, but the problem is when I receive the mail (tested with Gmail, yahoomail etc) I get a blank email with absolutely nothing in it. I have tested the mail with only HTML hyperlinks and it works but not with an embedd SWF file Any idea how to make it work? Thanx
I think the problem is with email clients, not your script. I don't use yahoo, but the email service I use doesn't display images or flash by default. I have to click a link to see any images which are sent in the email. May be something similar is happenning in your case as well. Bye
What you're trying to do is to automatically execute a program (activex control) on the client computer. That's quite iffy and I would imagine many mail servers will filter this as a virus/spyware, but if the problem is with all mail servers then you probably need to update your flash security settings. See http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html regards FBJ
you may want to check out cross domain security restrictions with flash. If you are using a web email client, it definitely will not show up in new versions of the flash player. You can not embed flash on one server and use from another (unless you setup a crossdomain.xml on your site). If you are viewing the email locally, it may work, but you will probably get the ActiveX popup. Chris...