473,396 Members | 1,760 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,396 software developers and data experts.

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 2296

"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("text1")

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

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

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
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...
1
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...
8
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...
5
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...
1
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...
2
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"...
1
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...
21
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...
2
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...
3
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.