473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Flash mail using ASP

imarkdesigns
Good day guys...

anyone here can help me correct the function of my Flash Mail Form using ASP to send the data...

CDO.Message.1 error '8004020d'
At least one of the From or Sender fields is required, and neither was found.
/contact.asp, line 20


this is the message when i hit Send on my Flash Form to send the information...


can anyone give me an idea how to fix this...

here is my ASP code


Expand|Select|Wrap|Line Numbers
  1. <%
  2.     for i=1 to 7
  3.          message=Request("message")
  4.     next
  5.          message=message + Request("message")    
  6.         smtpServer = "enter your SMTP SERVER HERE"
  7.         smtpPort = 25
  8.  
  9.  
  10.         name = Request("Your_Name:")
  11.         Set myMail = CreateObject("CDO.Message") 
  12.         myMail.Subject = "from " & name
  13.         myMail.From = Request("Your_Email:")
  14.         myMail.To = Request("recipient")
  15.         myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"
  16.         myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
  17.         myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
  18.         myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
  19.         myMail.Configuration.Fields.Update 
  20.         myMail.Send
  21.  
  22. %>
Nov 10 '07 #1
1 1847
jhardman
3,406 Expert 2GB
my guess is the names of the inputs aren't quite right. Try listing all of the posted data like this to troubleshoot:
Expand|Select|Wrap|Line Numbers
  1. for each x in request.form
  2.    response.write x & ": " & request.form(x) & "<br>" & vbNewLine
  3. next
  4. for each x in request.querystring
  5.    response.write x & ": " & request.querystring(x) & "<br>" & vbNewLine
  6. next
Jared
Nov 20 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

30
by: Darren Gates | last post by:
hi PHP users, Here's a Flash 7 version of phpMyAdmin: http://www.tufat.com/phpflashmyadmin.php Special features include: drag-and-drop interface for InnoDB table relationships, quick record...
1
by: kyrbi | last post by:
hi, using flash and php script I try to send mail from my website (linux hosting) The script is working but if I enable the marked lines (//....) the script doesn't want to send mail ..... ...
8
by: tmb | last post by:
1 - Can you build an entire web page or site with Java... sorta like you can with Flash? 2 - Can you do... .. Drag & Drop .. Push Buttons .. Hot Spot .. Hot Object .. Pull Down's (combo...
6
by: Gustav Medler | last post by:
Hello, there is a known problem with Opera and the execution of content shown in <NOSCRIPT> tag. Everythings works fine, if there is only one simple script like:...
2
by: Rick | last post by:
hi guys!! i saw recently a document explaining how to send ""events"" from a flash swf to a .net app using C#, now im interested in know if is possible to send "events" from my app .net using...
1
by: VB Programmer | last post by:
Anyone have any ideas how I can use Flash as my GUI to send an email and have an ASP.NET post actually send the email (via system.web.mail)? Thanks!
115
by: post2google | last post by:
I was thinking about where to go for lunch the other day, so I went to hardees.com to see what the menu looked like these days. What comes up is a big note that my flash version is not new enough...
8
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web...
4
by: vinnie | last post by:
I have tried several times to make the flash website to communicate with the PHP script i have on the server, but it does not work. It should work in this way: when the fields on the forms are all...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.