View Single Post
  #5 (permalink)  
Old January 31st, 2012, 01:39 AM
asad_ahmad asad_ahmad is offline
Registered User
Points: 90, Level: 1
Points: 90, Level: 1 Points: 90, Level: 1 Points: 90, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

yes i understand what write to the browser means. and i really appreciate that you helped me, and i managed to solve the problem.
here is my mistake,,
i just hard code the email address of (from) in this tag
Code:
 <input name="txtFrom" class="Text-Box" size="35" value="abc@abc.com">
and these three line were like this
Code:
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "abcxyz@abcxyz.com"
'and
objCDOSYSMail.From = request("txtfrom")
objCDOSYSMail.To = request("client_email")
and then, when i got your reply i again chk all my form values and email sending script, i finally managed to correct this problem.
so when script executed it was looking for
Code:
abcxyz@abcxyz.com
'in this line
objCDOSYSMail.From = request("txtfrom")
and form was sending something else, that was my mistake, then i again change this line
Code:
 <input name="txtFrom" class="Text-Box" size="35" value="abc@abc.com">
'to this
 <input name="txtFrom" class="Text-Box" size="35" value="abcxyz@abcxyz.com">
and script runs successfully without any error. thanks for your clue mat41
Reply With Quote