Rexolio
Technical User
- Aug 29, 2001
- 230
I have a form form my customers to type a message, specify an email address and then submit it. It submits to a page that sends the message to the email via CDONTS.
Problem is that whenever someone enters quotation marks, it chops off the rest of their email. I know why this is, but can't find a simply way to correct it.
I've tried:
strMsg = Request.form("Message"
strMsg = Replace(strMsg,"""",""
to remove the quotation marks, but nothing happens. If I substitute the double quotation marks for single quotation marks I get an error of course, and I can't enter the HTML equivalent (") because that does nothing either.
Suggestions?
Problem is that whenever someone enters quotation marks, it chops off the rest of their email. I know why this is, but can't find a simply way to correct it.
I've tried:
strMsg = Request.form("Message"
strMsg = Replace(strMsg,"""",""
to remove the quotation marks, but nothing happens. If I substitute the double quotation marks for single quotation marks I get an error of course, and I can't enter the HTML equivalent (") because that does nothing either.
Suggestions?