473,372 Members | 924 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,372 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 1424
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: 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
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.