I am using a form, that people will fill out, and when they select submit, the form will be emailed to me. It works fine for some people, but with others, their email program pops up with a blank message. I am using action="mailto:..." in the form tag. All users are using IE5, and Outlook is the email program. Any ideas why it works for some and not others. I take it must have something to do with individual settings somewhere.
It would be a lot easier (and it would work for everyone) if you sent it through a CGI script. I would reccomend doing that 100%.
· WEB: http://www.j.cx
· EMAIL: firstname.lastname@example.org
· ICQ: 45549000
Look at one of the following sites and you'll find a CGI script to help you...
They are some cgi scripts there that will help you... Hope that helps!
Thanks guys. I have this form on a new server that we bought at work, that our web team is still feeling out. It's IIS4.0, so what will I need to get cgi scripts to work? I know I need a cgi-bin directory, but other than that I'll need some insight as what to do.
Unfortunately cannot help with setting your CGI-BIN folder, but if you need a nice form script go to:
The program is called BNBForm, and I used it for both of my websites. Works great.
Hope this helps...
Have a website? Need more visitors? Go here:
You don't need CGI to get your form to email a copy to you. Just make sure CDO or ASPEMAIL is installed and the form can mail itself to you.
Here is the entire code I use to process my Forms. It will will work with any form with no modifications what so ever and you can make it more intelligent (ask me how) if you want.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
Dim FormText, Mailer, key
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "Digital Magician Feedback"
Mailer.RemoteHost = "mail.digitalmagician.com"
Mailer.AddRecipient "Feedback", "email@example.com"
Mailer.Subject = Request.form("Subject")
FormText = ""
For each key in Request.Form
FormText = FormText & Key & ": " & Request.Form(key) & vbCrLf
Mailer.BodyText = FormText
if Mailer.SendMail then
Response.Write "<p>Feedback sent...</p>"
Response.Write "<p>Feedback failure. Please send your comments by EMAIL to firstname.lastname@example.org</p>"
Response.Write "<p>" & Mailer.Response & "</p>"
Set Mailer = Nothing
Response.Buffer = True
The above code works with the ASPEmail component but it can easily be modified for CDO. Some additional sites you might want to look at for ASP are ASP101.com, 4guysfromrolla.com and ASPIN.com. ASPIN has hundreds of commercial and free scripts to automate your IIS webserver.
Wayne Luke - Sitepoint Forums Administrator
Digital Magician Magazine - MetaQuark Creations (Coming Soon)
[This message has been edited by wluke (edited July 14, 2000).]