dude9er
07-17-2007, 07:38 PM
Alright, I have been looking and have not been able to find how to do this. I'm sure it's easy.
I have a form that is submitted and a auto response text email is sent to the visitor's email. I'm trying to add an "href" link to the body of the text email, so not to have to type out the entire link in the email. Here is a sample of the code, but how to I get this simple link in there?
Const strHeader = "Your Order."
Const strFooter = "www.somesite.com"
Dim strSubject, strCC, strBcc, strBody, strFrom, objCDO
strBody = strHeader & ( vbCrLf & vbCrLf ) & "Thank you for ordering your. We are currently processing your order. Please allow 1-2 weeks for your order to be printed and shipped."
& ( vbCrLf & vbCrLf ) &
"You order ID is " & Request.Form("L1") & " ." & ( vbCrLf & vbCrLf ) & "Be sure to include your order ID when sending your logo. <a href="http://yahoo.com">Click here</a> for logo size requirements."
strBody = strBody & ( vbCrLf & strFooter )
Also, since we're on the topic how can I incorporate a mailto with subject link in the body eg. <a href="mailto:someone@yoursite.com?subject=Mail from Our Site">Email Us</a>
Thanks in advance.
I have a form that is submitted and a auto response text email is sent to the visitor's email. I'm trying to add an "href" link to the body of the text email, so not to have to type out the entire link in the email. Here is a sample of the code, but how to I get this simple link in there?
Const strHeader = "Your Order."
Const strFooter = "www.somesite.com"
Dim strSubject, strCC, strBcc, strBody, strFrom, objCDO
strBody = strHeader & ( vbCrLf & vbCrLf ) & "Thank you for ordering your. We are currently processing your order. Please allow 1-2 weeks for your order to be printed and shipped."
& ( vbCrLf & vbCrLf ) &
"You order ID is " & Request.Form("L1") & " ." & ( vbCrLf & vbCrLf ) & "Be sure to include your order ID when sending your logo. <a href="http://yahoo.com">Click here</a> for logo size requirements."
strBody = strBody & ( vbCrLf & strFooter )
Also, since we're on the topic how can I incorporate a mailto with subject link in the body eg. <a href="mailto:someone@yoursite.com?subject=Mail from Our Site">Email Us</a>
Thanks in advance.