473,385 Members | 2,274 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,385 software developers and data experts.

problem retriving input data

In my first file i.e File1 i am having a text field having value "FName"
now i want to fetch the data of that textfield n i want to send the input data into my mail body.

File2.asp
<%
Dim objNewMail
Set objNewMail = CreateObject("CDONTS.NewMail")
Dim strName
strName = Request( "FName" )

objNewMail.From = "behera.chinmayananda@gmail.com"
objNewMail.To = "behera.chinmayananda@gmail.com"
objNewMail.Subject = "Resume"
objNewMail.BodyFormat = 0
objNewMail.MailFormat = 0
objNewMail.Body = Request("FName")
objNewMail.Send
Set objNewMail = Nothing
%>

When i write like this i am getting "True" value in my mail body. But i want the value that the user has put in the text field named "FName"
Plz can anybody suggest me the solution.
Feb 7 '07 #1
2 1425
MMcCarthy
14,534 Expert Mod 8TB
In my first file i.e File1 i am having a text field having value "FName"
now i want to fetch the data of that textfield n i want to send the input data into my mail body.

File2.asp
<%
Dim objNewMail
Set objNewMail = CreateObject("CDONTS.NewMail")
Dim strName
strName = Request( "FName" )

objNewMail.From = "behera.chinmayananda@gmail.com"
objNewMail.To = "behera.chinmayananda@gmail.com"
objNewMail.Subject = "Resume"
objNewMail.BodyFormat = 0
objNewMail.MailFormat = 0
objNewMail.Body = Request("FName")
objNewMail.Send
Set objNewMail = Nothing
%>

When i write like this i am getting "True" value in my mail body. But i want the value that the user has put in the text field named "FName"
Plz can anybody suggest me the solution.
As I'm guessing this is an ASP issue I am moving this question to the ASP forum. If I'm wrong please let me know.

ADMIN
Feb 7 '07 #2
jhardman
3,406 Expert 2GB
It looks like the problem is in the form code. Could you show that?
Feb 8 '07 #3

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

Similar topics

4
by: Eric Kincl | last post by:
Hello, its been a while since I posted/looked here... my normal email client doesn't handle newsgroups :( (ximian evolution) I was wondering how you stick a file into a database, and then...
11
by: iffy agbim | last post by:
I have a form that displays information selected from an Access Data base. A select statement is used to do this on my asp page SQLQuery = "SELECT * FROM tblopgaCOm2 WHERE billNo = '" &...
2
by: Manish Naik | last post by:
Hi, Using ASP.Net, I want to store and retrive documents (Word, excel, etc) from SQL Server 2000 database. I have tried image type data field, but could not succed. Can any one help me please. ...
0
by: Luis Esteban Valencia | last post by:
Hi, I am using windows 2000 Pro with SP4 for development and database is access2000. Regional Setting is as follows: Regional Options: Your locale(location): English United States short date...
0
by: Raghuram | last post by:
Hi, i have a datagrid displayed with the data (Customer Table) and there totally three feilds "ID, Name, Description". there are two text boxes where in i will be displaying the selected data....
2
by: balakrishnan.dinesh | last post by:
Hi frnds, Im having a problem with retriving "\" backslash , In my javascript client side page , ill get the response from the server side , the response will contain some url like...
15
by: bb nicole | last post by:
The company profile showed blank after user login and click the company profile button. Supposed the company profile should not be blank and will show the company information which call from...
12
by: rahul gupta | last post by:
hi this is rahul here i am stucked in 1 problem.......... i have 2 input box and in my xsl file .1st will display the card no. of student and the second will display the amount in his balance...
6
by: kavithadevan | last post by:
Hi, I am trying to retriving some datas from the database.using submit button i am getting result but i inserted one submit image and i gave link to that image and then i run that script but its...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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.