J
Jon
Hi,
I am trying to use CDONT to send a HTML message, but on the receiving
machine it just shows the code in the message. Any ideas
This is inside asp code..
Dim EmailString
Dim objMail
EmailString = EmailString & "<HTML>" & vbCrLf & _
"<head>" & vbCrLf & _
"<title>Test email</title>" & vbCrLf & _
"</head>" & vbCrLf & _
"<body>" & vbCrLf & _
"<p><strong><big><big>Hi there</big></big><strong></p>" & vbCrLf & _
"</body>" & vbCrLf & _
"</HTML>" & vbCrLf
Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.From = TheFromAddress
objMail.To = TheToAddress
objMail.Subject = "Test message"
objMail.BodyFormat = 0
objMail.Body = EmailString
objMail.Send
Set objMail = Nothing
I am trying to use CDONT to send a HTML message, but on the receiving
machine it just shows the code in the message. Any ideas
This is inside asp code..
Dim EmailString
Dim objMail
EmailString = EmailString & "<HTML>" & vbCrLf & _
"<head>" & vbCrLf & _
"<title>Test email</title>" & vbCrLf & _
"</head>" & vbCrLf & _
"<body>" & vbCrLf & _
"<p><strong><big><big>Hi there</big></big><strong></p>" & vbCrLf & _
"</body>" & vbCrLf & _
"</HTML>" & vbCrLf
Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.From = TheFromAddress
objMail.To = TheToAddress
objMail.Subject = "Test message"
objMail.BodyFormat = 0
objMail.Body = EmailString
objMail.Send
Set objMail = Nothing