473,847 Members | 1,614 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using a web form to send details to an e-mail

Hi,

I have just created a web form that should send its
details to an e-mail address. The problem is that I was
working on the pretense that CDONTS would suffice my
needs.

However, after working with it for a few days (and
nights), it finally came to my attention that it will
only send 'To, From, Subject, Body' information and not
the 20 or so other form fields I need to send.

Ideally, my form will send a basic formatted e-mail to
someone. At the very least, it needs to be sent in an
ordered fashion so that it makes sense to the end user.

In a nutshell, I have 20 text fields and 6 drop down
menus on my web form. I need some code to take this
information and send it to an e-mail address in a
readable format.

Can this be done? Can anyone please help me.

I am using IIS4 on NT Server 4 with Option Pack. I am
also using Exchange 5.5 for our mail server.

Regards,
Jul 19 '05 #1
2 2320

"Andrew Williams" <as*@ass.com> wrote in message
news:3c******** *************** *****@phx.gbl.. .
Hi,

I have just created a web form that should send its
details to an e-mail address. The problem is that I was
working on the pretense that CDONTS would suffice my
needs.

You're right. Use CDO instead of CDONTS unless you're stuck on an NT 4
Server.
However, after working with it for a few days (and
nights), it finally came to my attention that it will
only send 'To, From, Subject, Body' information and not
the 20 or so other form fields I need to send.
What else did you expect? (Aside from CC, BCC, which are included, and the
ability to add your own headers, which you also can do.)

Ideally, my form will send a basic formatted e-mail to
someone. At the very least, it needs to be sent in an
ordered fashion so that it makes sense to the end user.
Create a string from the form values and then make that string the body of
the message.

In a nutshell, I have 20 text fields and 6 drop down
menus on my web form. I need some code to take this
information and send it to an e-mail address in a
readable format.

Do you know how to do something like:

Response.Write "The value of text field #1 is " & Request.Form("t ext1")

If so, it's all the same concept. Do

strTheEmailBody = "The value of text field #1 is " & Request.Form("t ext1")

Can this be done? Can anyone please help me.
Yes

I am using IIS4 on NT Server 4 with Option Pack. I am
also using Exchange 5.5 for our mail server.


Oh, you are on an NT Server. Okay, continue to use CDONTS. It will work
just fine.

Ray at work
Jul 19 '05 #2
Could you not gather all the form field values and just include them in the
body information?
I am using a form/several forms with up to 50 fields - check boxes drop dwn
lists etc. On Win NT CDONTS no problems...
Or am I missing something?

"Andrew Williams" <as*@ass.com> wrote in message
news:3c******** *************** *****@phx.gbl.. .
Hi,

I have just created a web form that should send its
details to an e-mail address. The problem is that I was
working on the pretense that CDONTS would suffice my
needs.

However, after working with it for a few days (and
nights), it finally came to my attention that it will
only send 'To, From, Subject, Body' information and not
the 20 or so other form fields I need to send.

Ideally, my form will send a basic formatted e-mail to
someone. At the very least, it needs to be sent in an
ordered fashion so that it makes sense to the end user.

In a nutshell, I have 20 text fields and 6 drop down
menus on my web form. I need some code to take this
information and send it to an e-mail address in a
readable format.

Can this be done? Can anyone please help me.

I am using IIS4 on NT Server 4 with Option Pack. I am
also using Exchange 5.5 for our mail server.

Regards,

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
19367
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is able to fill that one out just fine. The second form is multipart/form-data. Unfortunately, I haven't been able to fill that out in a way that makes the server happy. I set up a copy of this form at my web site so that I could see exactly what a...
1
1629
by: Raichu | last post by:
Hi All, I'm new to VC++.net and I searched through the forums and couldn't find anything related to this. I'm trying to send a flat file from a VC++.net program to a PHP file residing on a webserver. I know you can call a website from VC++.net, but I'm not sure how to send a physical file over the internet. I mean is there a way to mimic a normal html form to upload a file, using VC++.net?
8
2050
by: Martin | last post by:
I hope not, but, I think the answer to this question is "it can't be done". Northwind sample database. Orders form. Go to a new record. Select a customer in "Bill To:" Don't enter any products whatsoever. Now click or page up/down away from this new record. You just created a new order without a single item having been ordered. Not something a user should be able to do.
5
10405
by: David Lozzi | last post by:
Howdy, I wrote a web service in .Net for my customer. My customer has another vendor who now has to consume it but they are not using Visual Studio. Most of their pages are jsp, and they said they need to consume this web service using HTTP. The developer's IDE is Notepad. Yeah, weird I know. How is this done? I guess if I can get it to run ASP, IDE independant, that should make them happy. Any references you can point me to?
1
2522
by: giesss | last post by:
I have been searching for a way to call a third party emailer to send mass emails from MS Access. Outlook thinks it is spam and asks the user to verify every email. I need to send many emails with an attachment without user input after the "Send email Button is clicked" I mainly need to know about how to call and insert data into the To: the Bcc: the SubjectLine: the Body: Currently I am using code similar to this. Private Sub...
2
1550
by: Roo | last post by:
Hi - apologies for ASP newbie question. I have a form which has two fields, "details" and "score", the first of which can be edited by the user and the second of which is hidden. When "details" is updated, I need to update "score" and then call a javascript routine to do some client-side calculations using "score". I was going to use ASP to search a text file containing the corresponding values (there are thousands) of "details" and...
1
2345
by: newToAjax | last post by:
I have created an ajax application which retrievs an xml file and fills in the tab fields on the form.The code works fine in IE while its does not in Mozilla. Can you please let me know if i have to install some plugins to use XPATH? <html> <head> <title>SilverLine </title> <link rel="stylesheet" href="example.css" TYPE="text/css" MEDIA="screen"> <script type="text/javascript"> /* Optional: Temporarily hide the "tabber" class so it...
21
34468
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most obvious of which is the sharing of files. For example, you upload images to a server to share them with other people over the Internet. Perl comes ready equipped for uploading files via the CGI.pm module, which has long been a core module and allows users...
2
3176
by: shivendravikramsingh | last post by:
hi friends, i m using a ajax function for retrieving some values from a database table,and display the values in required field,my prob is that the ajax function i m using is working f9 once,but if i change something in php file using in ajax function.it not refreshed,means its shows the previous result it not get updated.i can't understand whats the prob.this is the code i m using: <? include("config.inc.php"); //error_reporting(0); ...
3
2847
by: jerry101 | last post by:
Okay, so I have no knowledge with ASP and I was asked to look at this contact form because the emails aren't delivering. I'll post the whole page of code, because I am unsure at what is what really apart from the common knowledge stuff i.e. the send email to etc, but this wasn't designed by me so I am unsure if it's wrong or right.. If someone could let me know whether there's a problem with the code or if the problem may lay elsewhere...
0
9890
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9733
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10652
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10715
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9489
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7887
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7060
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5724
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3167
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.