开发者

ASP code-throwing 500 internal server error

开发者 https://www.devze.com 2023-02-09 01:51 出处:网络
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.

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

精彩评论

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