本文介绍了Windows 2003中的CDO电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在远程W 2003服务器上发送表单邮件时遇到问题。


我使用的测试脚本如下

<% @ Language = VBScript%>

<%Set objMessage = CreateObject(" CDO.Message")

objMessage.From =" me"

objMessage.Subject =" test"

objMessage.To =" [email protected]"

objMessage.TextBody =" testing"

objMessage.Configuration.Fields.Item(" http://schemas.microsoft.com/cdo/configuration/sendusing")

= 2

objMessage.Configuration.Fields.Item(" http://schemas.microsoft.com/cdo/configuration/smtpserver")

=" mySMTPserver"

objMessage .Configuration.Fields.Item(" http://schemas.microsoft.com/cdo/configuration/smtpserverport")

= 25

objMessage.Configuration.Fields。更新

objMessage.Send

%>


我一直在这整个早上,我好好受够了。


有什么东西在我脸上盯着吗?

I am having trouble sending a form email on a remote W 2003 server.

The test script I am using is as follows
<%@ Language=VBScript %>
<% Set objMessage = CreateObject("CDO.Message")
objMessage.From = "me"
objMessage.Subject = "test"
objMessage.To = "[email protected]"
objMessage.TextBody = "testing"
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")
= 2
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")
= "mySMTPserver"
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport")
= 25
objMessage.Configuration.Fields.Update
objMessage.Send
%>

I have been on this all morning and i''m well fed up.

Is there something staring me in the face??

推荐答案




是mySMTPserver实际上你的SMTP服务器的名称?



Is "mySMTPserver" actually the name of your SMTP server?






当你说你不能得到它时工作正常,会发生什么?你有什么

错误信息?



When you say you can''t get it to work properly, what happens? What
error messages do you get?


这篇关于Windows 2003中的CDO电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-27 10:00