2011-02-04 108 views
1

我是新来的ASP编码。我试图在ASP中编写1页,然后直接在网上运行,其中有一些其他asp页面运行良好。ASP代码引发500内部服务器错误

该页面中的代码如下。请有人帮助我。

Set myMail=CreateObject("CDO.Message") 
myMail.Subject="Sending email with CDO" 
myMail.From="[email protected]" 
myMail.To="[email protected]" 
myMail.TextBody="This is a message." 
myMail.Send 
set myMail=nothing 
+0

服务器上是否安装了某些CDO库或产品(如Outlook)?当您尝试创建对象或尝试发送对象时,是否收到错误... – Sparky 2011-02-04 13:03:52

回答