SIGN IN
::
SPONSORS
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
DVDs
BOOKS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE FLASH:
Adobe Flash Forum
Adobe Flash Tutorials
Adobe Flash Video Tutorials
Web Streaming Forum
Adobe Flash
Contact Form
Cow Forums
:
Adobe Flash
VIEW POSTS
•
ADD A NEW POST
•
SEARCH
•
CHANGE FORUM
Respond to this post
•
Return to posts index
Contact Form
by
jeremey shelton
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=Request("message")
next
message=message + Request("message")
smtpServer = "smtp.1and1.com"
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("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
myMail.Configuration.Fields.Update
myMail.Send
%
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 1and1.com MS server, so I cannot use the PHP option. I would really appreciate any advice. Thanks in advance!
--
Jeremey @ DI
Respond to this post
•
Return to posts index
Current Message Thread:
Contact Form
by jeremey shelton on Jun 4, 2008 at 3:42:07 pm
Related Threads:
Trying to get a contact form to work
|
[AS2] Need help with getting contact form to work & gotoAndPlay command
|
Need help with a contact form in flash
Note:
If you are a registered user please
click here to login
before posting.
Your post will not be accepted if your name and email address are not registered in our database. Click
here
if you do not have an account.
Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message
Entire Thread
None
Message:
Note:
The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key.
Read more...
Add your message signature
Note:
By clicking "Post Direct" button above, you are agreeing to the Creative Cow's
Code of Conduct
.
FORUMS
•
TUTORIALS
•
MAGAZINE
•
DVDs
•
BOOKS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
©
CreativeCOW.net
All rights are reserved.
[
Top
]