April 1st, 2003, 07:08 PM
-
Dynamic Hyperlink w/ URl Variable
Alright, im having the hardest time trying to figure this out. Im trying to email this hyperlink which has a url variable named ID. Im sure it's a misplaced quote, but I cannot get it right for some reason. Thanks in advance
Mailer.BodyText = "Your widgets order has been processed! <BR>" & _
"<a href=""http://superhost.com/tutor/dev/FacultyApprovalForm.asp?ID=""" & varNewID & ">Click Here to Approve</a>"
April 3rd, 2003, 02:31 PM
-
Code:
Mailer.BodyText = "Your widgets order has been processed! <BR>" & _
"<a href='http://superhost.com/tutor/dev/FacultyApprovalForm.asp?ID=" & varNewID &"'>Click Here to Approve</a>")
Are single quotes valid HTML? I know they work but are they valid?
April 3rd, 2003, 09:54 PM
-
Are you receiving an error message or the mail gets sent but the link show as text not hyper link?
if you are getting a runtime error, it would help a lot to get that error
if the link show as text not hyper link, check the setting of the "mailer" object that you are using. Some of them have a object.Text property that only accepts text no HTML and another property "object.HTMLtext for example" that would accept HTML ... some other products have a variable set "object.isHTML for example" that you set boolean to identify if the text is plain text or HTML