469,322 Members | 1,389 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,322 developers. It's quick & easy.

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 1258
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 zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.