Feb 21, 2008 #1 ringadeal Technical User Jan 16, 2008 67 US What is the proper syntax for this code as it is not working as intended. Code: If Request.Form("Email")<>"" Then myMail.To=""&Request.Form("Email")&"" Else myMail.To=""&Session("SoldToEmail")&"" End If
What is the proper syntax for this code as it is not working as intended. Code: If Request.Form("Email")<>"" Then myMail.To=""&Request.Form("Email")&"" Else myMail.To=""&Session("SoldToEmail")&"" End If
Feb 22, 2008 1 #2 Sheco Programmer Jan 3, 2005 5,457 US You don't need the quotes. The values returned by Session("xxx") and Request.Form("xxx") will automatically be interpretted as strings. Upvote 0 Downvote
You don't need the quotes. The values returned by Session("xxx") and Request.Form("xxx") will automatically be interpretted as strings.