Advertisement

05.21.2008 at 06:33AM PDT, ID: 23420719 | Points: 500
[x]
Attachment Details

Flash / ASP Contact Form Problem

Asked by Glassofchianti in Active Server Pages (ASP), Miscellaneous Web Development, Macromedia Flash

Tags:

I'm trying to get a contact page on my flash website working..  There are only three fields.  Name, Email and message.  This is running on a Windows 2003 IIS server.  The email should be sent to our internal Exchange server.

Here is the code:

Flash code:

------------------------------------------------------------------------------------------------------------------------------

on (release) {
for (i=1; i<_parent.fields_descriptions.length; i++) {
this[_parent.fields_descriptions[i][2]] = _parent[_parent.fields_descriptions[i][1]];
_parent.reset_txt(_parent["t"+i], _parent.fields_descriptions[i][1], _parent.fields_descriptions[i][2]);
}
this.recipient = _parent.rec;
i = undefined;
getURL("contact.asp", "_self", "POST");
}

------------------------------------------------------------------------------------------------------------------------------

ASP code:

------------------------------------------------------------------------------------------------------------------------------

<%
Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")

myBody = ""
myBody = myBody & "Name: " & request("name") & vbcrlf
myBody = myBody & "Email: " & request("email") & vbcrlf
myBody = myBody & "Message: " & vbcrlf & request("message")


myMail.From = request("email")
myMail.To = "me@mysite.com"

myMail.BodyFormat = 1
myMail.MailFormat = 1
myMail.Importance = 1

myMail.Subject = "Website Inquiry"
myMail.Body = myBody
myMail.Send

Set myMail = Nothing
%>

Start Free Trial
[+][-]05.21.2008 at 08:28AM PDT, ID: 21616051

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.21.2008 at 09:20AM PDT, ID: 21616599

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.21.2008 at 09:21AM PDT, ID: 21616611

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.21.2008 at 09:28AM PDT, ID: 21616689

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.21.2008 at 09:39AM PDT, ID: 21616791

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.21.2008 at 02:16PM PDT, ID: 21619108

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.21.2008 at 02:23PM PDT, ID: 21619150

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628