代码如下:
            Set Mail = CreateObject("CDONTS.NewMail")                Mail.From = "[email protected]"
                Mail.BodyFormat = 0
                Mail.MailFormat = 0
            
                Mail.To = "[email protected]"
                Mail.Subject = "hello"
                Mail.Body = "hi~ this is a test"
                
                Mail.Send            Set Mail = Nothing
在运行的时候报:ActiveX component can't create object 错误。但是我的确是要用dll来发生email难道就没有别的办法了嘛? 谢谢大家帮忙看看,急~~ 在线