# ASP in flash to send email

**URL:** <https://forum.kirupa.com/t/asp-in-flash-to-send-email/203191>\
**Category:** Uncategorized\
**Created:** [October 8, 2006, 11:40pm UTC](https://forum.kirupa.com/t/asp-in-flash-to-send-email/203191 "2006-10-08T23:40:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scvc193223](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@scvc193223](https://forum.kirupa.com/u/scvc193223)\
**Post date:** [October 8, 2006, 11:40pm UTC](https://forum.kirupa.com/t/asp-in-flash-to-send-email/203191/1 "2006-10-08T23:40:53Z")

</div>

Can anyone help here. I have an .asp script that I am using to post for an email inside a mc. But when you click submit, instead of submiting and sending the email it calls the asp file and pulls up a blank window. Here is the script below. Can anyone help?

\<% @language=“VBSCRIPT”%\>

\<%

Dim myMail, myBody

myBody = "Name: "&request.form(“name”) & vbcrlf  
myBody = myBody & “Address:” & request.form(“address”) & vbcrlf  
myBody = myBody & “Email:” & request.form(“email”) & vbcrlf  
myBody = myBody & “Telephone:” & request.form(“telephone”) & vbcrlf  
myBody = myBody & “Message:” & request.form(“message”)

Set myMail = CreateObject(“CDONTS.NewMail”)

myMail.BodyFormat = 1  
myMail.MailFormat = 1  
myMail.From = request.form(“email”)  
myMail.To = "djritter@cox.net"  
myMail.Subject = “Information Request”  
myMail.Body = myBody  
myMail.Send

set myMail=nothing

%\>
