我知道有几个线程与此相关,但没有人回答我的问题。CDO.MESSAGE.1传输失败连接到服务器
仅仅是代码(VBScript中):
With cdomsg.Configuration.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'NTLM method
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
.Item("http://schemas.microsoft.com/cdo/configuration/smptserverport") = 587
.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True
.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "[email protected]"
.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "pass"
.Update
End With
与该代码,一切都运行得很好用我的电脑。但在其他PC上出现此错误:
CDO.MESSAGE.1传输无法连接到服务器。我已经做了
事情:
- 通过
telnet
端口25,465,587检查仅465没有工作。 - 将端口更改为465,25,587。
- 在AntiVirus中排除我的.exe(此程序)。
我有那些smtpusessl,autheticate等
我不知道该怎么做,并再检查。系统是否可能阻止此类活动?
嗨,谢谢你的回答!我在另一台计算机上有相同的代码,它工作的很好,不知道这是否是问题。但是,我试图将安全性较低的应用程序面板的访问权切换为开启和关闭,但仍然没有运气。 – Anthony