开发者

ASP code-throwing 500 internal server error

I am new to ASP coding. I have tried to code 1 page in ASP and run that directly online in a webite which has other asp pages working completely fine.

The code in that page is as below. Please someo开发者_如何转开发ne help me.

Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="abc@gmail.com"
myMail.To="abc@gmail.com"
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing


I'm betting a dll named CDO is not registered.

Try using http://en.wikipedia.org/wiki/Regsvr32 to register the dll you are trying to use and see if that resolves your error.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜