Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: HTML Email using CDONTS


Message #1 by "steve" <steve@n...> on Mon, 27 Nov 2000 12:50:11 -0000
What is wrong with this? I recieve it in text format in OUtlook 2000. What

am I doing wrong??







<!-- METADATA TYPE="TypeLib" NAME="Microsoft CDO For NTS 1.2 Library" UUID="{0E064ADD-9D99-11D0-ABE5-00AA0064D470}"
VERSION="1.2"-->



<%



Set objMail = Server.CreateObject("CDONTS.NewMail")

		

With objMail 

	.From = "steve@n..."

	.To = "steve@n..."

	.Subject = "Test the html email"

	.BodyFormat = CdoBodyFormatHTML

	.Body = "<html><head><title>hello</title></head><body>hello</body></html>"

	.Send

End With

	

set objMail = nothing	



%>


  Return to Index