使用外部SMTP服务器。 IIS SMTP服务器 [英] Using External SMTP Server Vs. IIS SMTP Server

查看:169
本文介绍了使用外部SMTP服务器。 IIS SMTP服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Gang


我们的网络管理员不希望在我们的Intranet上安装IIS SMTP服务器。他希望我使用我们现有的SMTP服务器

" mail.smpi.siemens.ca"。我可以用IIS做到这一点吗?如果我没有运行IIS SMTP服务器,这是一个

ASP的设置吗?


我们在带有IIS5的Windows 2000 SP4上运行。


谢谢

Andy

Hi Gang

Our network administrator does not want to install the IIS SMTP server on
our intranet. He wants me to use our existing SMTP server
"mail.smpi.siemens.ca". Can I do this with IIS?? Is this a setting in an
ASP if I''m not running the IIS SMTP server?

We are running on Windows 2000 SP4 with IIS5.

Thanks
Andy

推荐答案

CDO能够指定服务器,CDONTS没有。


-

Curt Christianson

所有者/首席开发人员,DF-Software

网站: http://www.Darkfalz.com

Blog: http://blog.Darkfalz.com

安迪 <一个*********** @ siemens-nospam.com>在留言中写道

新闻:10 *************** @ pbht107x.smpi.siemens.ca ...
CDO has the ability to specify the server, CDONTS does not.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Andy" <an***********@siemens-nospam.com> wrote in message
news:10***************@pbht107x.smpi.siemens.ca...
嗨帮

我们的网络管理员不希望在我们的Intranet上安装IIS SMTP服务器。他希望我使用我们现有的SMTP服务器
mail.smpi.siemens.ca。我可以用IIS做到这一点吗?如果我没有运行IIS SMTP服务器,这是ASP中的设置吗?

我们在带有IIS5的Windows 2000 SP4上运行。

谢谢
Andy
Hi Gang

Our network administrator does not want to install the IIS SMTP server on
our intranet. He wants me to use our existing SMTP server
"mail.smpi.siemens.ca". Can I do this with IIS?? Is this a setting in an
ASP if I''m not running the IIS SMTP server?

We are running on Windows 2000 SP4 with IIS5.

Thanks
Andy



>我们的内联网。他希望我使用我们现有的SMTP服务器
> our intranet. He wants me to use our existing SMTP server
" mail.smpi.siemens.ca"。我可以用IIS做这个吗?
"mail.smpi.siemens.ca". Can I do this with IIS?




你的意思是ASP吗?这取决于你使用的邮件组件是什么?


-

Aaron Bertrand

SQL Server MVP
< a rel =nofollowhref =http://www.aspfaq.com/target =_ blank> http://www.aspfaq.com/


嗨Aaron


嗯......我们今天刚刚发现我们的CDONTS在IIS 5中不起作用所以

我是试图将我的代码转换为CDOSYS(不知道我在做什么)。


所以,如果我有以下代码,它可以正常使用CDONTS ......我是否需要
将它连接到指向外部SMTP服务器的CDOSYS

" mail.smpi.siemens.ca"?


昏暗的邮件

设置mail = CreateObject(" CDONTS.NewMail")

mail.From = Session(" Email")

mail.To =" an *********** @ siemens.com"

mail.Subject =" Employee Expense Report"

mail .Body =正文发送到这里。

mail.Send

设置邮件=无任何


请帮助

Andy

" Aaron Bertrand - MVP" < AA *** @ TRASHaspfaq.com>在消息中写道

新闻:%2 *************** @ TK2MSFTNGP09.phx.gbl ...
Hi Aaron

Well... we just found out today that our CDONTS does not work in IIS 5 so
I''m trying to convert my code to CDOSYS (with no clue as to what I''m doing).

So if I have the following code, which works fine with CDONTS... how do I
get it to CDOSYS pointing to the external SMTP server
"mail.smpi.siemens.ca"?

Dim mail
Set mail=CreateObject("CDONTS.NewMail")
mail.From = Session("Email")
mail.To = "an***********@siemens.com"
mail.Subject = "Employee Expense Report"
mail.Body = "The body text goes here."
mail.Send
Set mail = Nothing

Please help
Andy
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
我们的内部网。他希望我使用我们现有的SMTP服务器
mail.smpi.siemens.ca。我可以用IIS做这个吗?
our intranet. He wants me to use our existing SMTP server
"mail.smpi.siemens.ca". Can I do this with IIS?



你的意思是ASP吗?这取决于你使用的邮件组件是什么?

- Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/



这篇关于使用外部SMTP服务器。 IIS SMTP服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆