FORUMS: list search recent posts

Contact Form

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
jeremey shelton
Contact Form
on Jun 4, 2008 at 3:42:07 pm

I have a contact form in a Flash site that I am trying to have access a ASP file for submission. I keep getting the following error when I test:

CDO.Message.1 error '8004020d'

At least one of the From or Sender fields is required, and neither was found.

/contact.asp, line 20

Here is the ASP code I am using:

for i=1 to 7
message=message + Request("message")
smtpServer = ""
smtpPort = 25

name = Request("Your_Name:")
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "from " & name
myMail.From = Request("Your_Email:")
myMail.To = Request("recipient")
myMail.HTMLBody = "Contact letter
" & message & ""
myMail.Configuration.Fields.Item("") = 2
myMail.Configuration.Fields.Item("") = smtpServer
myMail.Configuration.Fields.Item("") = smtpPort


I had to remove the brackets at the front and on the end in order to get the code to show up in this post.

What is missing here? I use a MS server, so I cannot use the PHP option. I would really appreciate any advice. Thanks in advance!

Jeremey @ DI

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved