I’m trying to create a simple mailto function from a Flash movie, but have problems passing to a simple ASP page. I was following Kirupa’s Tut in php, and figured it would have translated over to ASP fairly easily. I’m using a CDONTS mailscript in ASP, and for some reason when I try and submit from inside my movie I never get a response back, nor does my flash movie frame advance. Code is the same in the flash movie as the Tut is, so I figure I must be doing something wrong with my ASP or how Flash passes to it.
Attached are my source files, take a look and please lend me a hand! Thanks!
everyone keeps saying that. i haven’t really been using ASP at all lately, so i guess i’m out of the loop. but i always have used CDONTS and will until i hear a reason why i shouldn’t.
so any light u have to shed on this topic please do
[font=Verdana, Arial, Helvetica, sans-serif][size=2]
<%
sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = Server.CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(sch & "sendusing") = 2 ' cdoSendUsingPort
.Item(sch & "smtpserver") = "127.0.0.1"
.update
End With
Set cdoMessage = Server.CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "your@emailaddy.com"
.To = "your@emailaddy.com"
.Subject = "Sample CDO Message"
.TextBody = "This is a test for CDO.message"
.Send
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>
[/size][/font]
This is an email script i found using cdosys instead of cdonts.
CDONTS is old, unsupported, discontinued, weak, and ill-advised.
CDOSYS is the antithesis of CDONTS.
Because it is unsupported i found it impossible to use on my w2k3 server. I’ll see if i can find some topics else where you guys can look at.