472,119 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 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 1357
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

Post your reply

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

Similar topics

4 posts views Thread by Eric Kincl | last post: by
11 posts views Thread by iffy agbim | last post: by
reply views Thread by Luis Esteban Valencia | last post: by
reply views Thread by Raghuram | last post: by
2 posts views Thread by balakrishnan.dinesh | last post: by
12 posts views Thread by rahul gupta | last post: by
reply views Thread by leo001 | last post: by

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.