分享

写回答

发帖

[提问] 服务器上CDO.Message这个组件问题

回答|共 16 个

13560422100

发表于 2010-12-6 17:14:42 | 显示全部楼层

原帖由 add.c 于 2010-12-6 05:08 PM 发表
这个是示例代码

Set objMail = Server.CreateObject("CDO.Message")
Set objConfig = Server.CreateObject ("CDO.Configuration")
objConfig.Fields(" http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objConfig.Fields(" http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objConfig.Fields(" http://schemas.microsoft.com/cdo/configuration/smtpserver") = E_Server
objConfig.Fields(" http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
objConfig.Fields(" http://schemas.microsoft.com/cdo/configuration/sendusername") = E_ServerUser
objConfig.Fields(" http://schemas.microsoft.com/cdo/configuration/sendpassword") = E_ServerPass
objConfig.Fields(" http://schemas.microsoft.com/cdo/configuration/languagecode") = "0x0804"
objConfig.Fields.Update()
Set objMail.Configuration = objConfig
objMail.Subject = topic
objMail.From = E_SendManMail
objMail.To = email
objMail.HTMLBody = mailbody
objMail.Send
Set objMail = Nothing

add.c

发表于 2010-12-6 17:25:22 | 显示全部楼层

参考我发的那个例子修改发信

mecity.net

发表于 2010-12-6 18:00:30 | 显示全部楼层

来学习了

13560422100

发表于 2010-12-6 19:16:11 | 显示全部楼层

网站建设 邮件自动发送系统问题

网站注册:错误代码提示:
CDO.Message.1 ERROR "80040213"
The transport failed to connect to the server

后台直接发送能用的   注册或下订单都出现这个错误代码:
CDO.Message.1 error '80040213'
The transport failed to connect to the server.
/IncAsp enshop_email.asp, line 73
未命名.jpg

4n5c6rn

发表于 2010-12-6 22:58:36 | 显示全部楼层

帮你顶一下

13560422100

发表于 2010-12-8 10:56:15 | 显示全部楼层

怎么没人回复啊

13560422100

发表于 2010-12-8 10:59:03 | 显示全部楼层

邮件自动发送系统问题

邮件自动发送系统问题
网站注册:错误代码提示:
CDO.Message.1 ERROR "80040213"
The transport failed to connect to the server

后台直接发送能用的   注册或下订单都出现这个错误代码:
CDO.Message.1 error '80040213'
The transport failed to connect to the server.
/IncAsp enshop_email.asp, line 73
[贴子地址]:http://bbs.idcspy.com/thread-153977-1-1.html

13560422100

发表于 2010-12-8 11:11:09 | 显示全部楼层

回复 10# 的帖子

CDO.Message.1 ERROR "80040213"
The transport failed to connect to the server   
错误代码提示   要修改设置 怎么处理啊啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则