D
Dave Lagergren
I have a form on our website for contacting our reps. There is a drop down
for the Rep and fields for name, email, phone, message.
On Submit I send the results in a email to the Rep. I would like the
customers email address to be clickable. I can use mailto: but that displays
on the email as a hyperlink "mailto: (e-mail address removed)". I may be picky
but I would like it to be a clean hyperlink.
Here is my code:
<%
strMessage = "Dear " & Rep & vbcrlf&_
"Your customer " & CustName & " wants to talk to you about: " & Message &
"." & vbcrlf&_
"Their email is " & "mailto:" & Email & " and their phone number is " & phone
' Send original email - to the Rep
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "Customer Request"
if len(Email) > 7 then ' Minimal address checking
myMail.From = Email
else
myMail.From = "(e-mail address removed)" ' If no address entered
end if
myMail.To = RepEmail
myMail.bcc = "(e-mail address removed)"
myMail.TextBody = strMessage & ""
myMail.Send
set myMail = nothing
%>
Thanks!
for the Rep and fields for name, email, phone, message.
On Submit I send the results in a email to the Rep. I would like the
customers email address to be clickable. I can use mailto: but that displays
on the email as a hyperlink "mailto: (e-mail address removed)". I may be picky
but I would like it to be a clean hyperlink.
Here is my code:
<%
strMessage = "Dear " & Rep & vbcrlf&_
"Your customer " & CustName & " wants to talk to you about: " & Message &
"." & vbcrlf&_
"Their email is " & "mailto:" & Email & " and their phone number is " & phone
' Send original email - to the Rep
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "Customer Request"
if len(Email) > 7 then ' Minimal address checking
myMail.From = Email
else
myMail.From = "(e-mail address removed)" ' If no address entered
end if
myMail.To = RepEmail
myMail.bcc = "(e-mail address removed)"
myMail.TextBody = strMessage & ""
myMail.Send
set myMail = nothing
%>
Thanks!