p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Databases (http://p2p.wrox.com/forumdisplay.php?f=62)
-   -   Sending HTML Mailer With SWF (http://p2p.wrox.com/showthread.php?t=50081)

cancer10 November 9th, 2006 03:49 AM

Sending HTML Mailer With SWF

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

This the the code of the second page which sends the mail.

Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.HTMLBody = request.form("txtmessage")
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?


www.chargertek.in - Cheapest WebHosting

ppbs November 16th, 2007 08:48 AM

I am facing similar problem.
I want to send one HTML mail having swf using outlook 2003 / 2007. I have hosted the HTML & other files on server. The outlook shows swf when activeX control is activated in outlook 2003. If activeX control is not activated, I want to display image in place of swf. So that by clicking on the image user will be redirected to the hosted HTML page showing swf.
Do any one know how to do this?
I tried using div tag to show image in background. It worked previously but not working now.
Please help..

All times are GMT -4. The time now is 07:46 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.