I have this problem when I'm trying to submit a whole html/asp page via email. In order to use CDONTS, I understand, you have to remove quotation marks in the Objmail.Body section that has the HTML code.
However, to retrieve form values, the Request.Form function requires "" quotation marks to pull information from the previous page. When I replace the quotation marks, I create an error when trying to run the page to submit the email.
Is there another way to call values from the previous form without using the quotation marks?
This is the Code that returns VB compliation error:
objMail.Body = "<html> Hello, <input TYPE=text NAME='Name' value= & Request.Form("Name"
</html>"
However, to retrieve form values, the Request.Form function requires "" quotation marks to pull information from the previous page. When I replace the quotation marks, I create an error when trying to run the page to submit the email.
Is there another way to call values from the previous form without using the quotation marks?
This is the Code that returns VB compliation error:
objMail.Body = "<html> Hello, <input TYPE=text NAME='Name' value= & Request.Form("Name"