Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 28th, 2003, 09:40 AM
mr_sudeepghosh mr_sudeepghosh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 1 mr_sudeepghosh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Using Flash to Send mail with ASP Script

I have made a Flash movie and have connected it to an ASP Script so that it sends mail to a defined Email ID. This ASP Script does work with a general HTML form but doesnot work with Flash . Can anyone help?

I have used the On release {loadVariablesNum ("mail.asp", "0", "Post");
EmailStatus = "Sending... one Moment .. or two.. sometimes it's faster then other times";
}

in the action for Submit button in the flash file but on submiting the message is displayed but the mail is not sent

Here is the ASp code:

<%
Response.Buffer = True
Dim strBody
Dim objCDOMail
Dim strMyEmailAddress
Dim strReturnEmailAddress

strMyEmailAddress = "mr_sudeepghosh@yahoo.com"

strReturnEmailAddress = Request.Form("email")
strBody = "<h2>Feedback</h2>"
strBody = strBody & "<br><b>Name: </b>" & Request.Form("name")
strBody = strBody & "<br><b>Support on: </b>" & Request.Form("menu")
strBody = strBody & "<br> " & Request.Form("address")
strBody = strBody & "<br> " & Request.Form("city")
strBody = strBody & "<br> " & Request.Form("state")
strBody = strBody & "<br> " & Request.Form("country")
strBody = strBody & "<br> " & Request.Form("pin")
strBody = strBody & "<br><br><b>Telephone: </b>" & Request.Form("phone")
strBody = strBody & "<br><b>E-mail: </b>" & strReturnEmailAddress
strBody = strBody & "<br><br><b>Comments: - </b><br>" & Replace(Request.Form("details"), vbCrLf, "<br>")
strBody = strBody & Request.Form("Contact")

End If


Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = Request.Form("firstName") & " " & Request.Form("lastName") & " <" & strReturnEmailAddress & ">"
objCDOMail.To = strMyEmailAddress
objCDOMail.Subject = "Feedback from Livingstoneacademy.com"
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Body = strBody
objCDOMail.Importance = 2
objCDOMail.Send
Set objCDOMail = Nothing
%>

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Using Flash to Send mail with ASP Script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway