954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Sending HTML Mailer With SWF

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>

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
%>


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

cancer10
Posting Whiz in Training
234 posts since Dec 2004
Reputation Points: 58
Solved Threads: 1
 

It’s only due to the security reason, actually the html you are sending that’s sent with mail but blocked by the mail client. you can send the links on tables, but flash will not work due to the security reasons

katarey
Junior Poster
167 posts since Jul 2005
Reputation Points: 39
Solved Threads: 23
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You