我要发邮件,
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail@mydomain.com"
myMail.To="someone@somedomain.com"
myMail.CreateMHTMLBody "http://www.w3schools.com/asp/"
myMail.Send
set myMail=nothing
%>
然而,类似上面的东西,网页返回错误,
Microsoft VBScript 运行时错误“800a01b6”对象不支持
此属性或方法:'CreateMHTMLBody'
那么,我怎样才能发送带有 html 和图像的电子邮件,比如
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >