Object doesn't support this property or method CreateMHTMLBody

nbn7

New Member
I am going to send an email, \[code\]<%Set myMail=CreateObject("CDO.Message")myMail.Subject="Sending email with CDO"myMail.From="[email protected]"myMail.To="[email protected]"myMail.CreateMHTMLBody "http://www.w3schools.com/asp/"myMail.Sendset myMail=nothing%>\[/code\]Something like above, however, the webpage return the errors,\[quote\] Microsoft VBScript runtime error '800a01b6' Object doesn't support this property or method: 'CreateMHTMLBody'\[/quote\]So, how can I send an email with html and image, like \[code\]<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >\[/code\]
 
Top