我正在使用以下代码从 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
但它不工作。我得到以下错误
Microsoft VBScript 运行时错误“800a01ad”ActiveX 组件无法创建对象