JMail.SMTPMail无法正常工作

Use*_*590 2 vbscript asp-classic jmail

您好我是使用以下代码从ASP页面发送邮件

        Dim MyMail
        Set MyMail = Server.CreateObject("JMail.SMTPMail")
        MyMail.ServerAddress = ""
        MyMail.Sender = "senderemail"
        MyMail.AddRecipient  "mail@mail.com"    
        MyMail.Subject = "Inquiry "
        MyMail.Body = "<p>This is a response</p>"
        MyMail.ContentType = "text/html" 
        MyMail.Execute
        Set MyMail=nothing
Run Code Online (Sandbox Code Playgroud)

但它没有用.我收到了以下错误

Microsoft VBScript运行时错误"800a01ad"ActiveX组件无法创建对象

谁能帮帮我吗

Use*_*590 5

终于找到了解决方案.

我需要在应用程序池中32位应用程序设置为true,它就像魅力一样.

谢谢大家帮助我.