bodyTxt = "<span>You have just received an email from security.<br> <a href='
http://registration/se/Rest.asp?var=" & request.form("id") & "&email=" & email & "'>Please click here.</a></span>"
emailHere = "iola@eecom.com"
Set objSendMail = CreateObject("CDO.Message"
)
objSendMail.Subject = "Your Certificate"
objSendMail.MailFormat = 0
objSendMail.BodyFormat = 0
objSendMail.From = "iola"
objSendMail.To = emailHere
objSendMail.TextBody = bodyTxt
objSendMail.send
When the email is sent, the recepient receives the contents of bodyTxt with the HTML tags exactly as you see it above. Also, the link "Please click here" is not active.
Any solutions.
Start Free Trial