首 页 网络编程
网页制作 图形图象 操作系统 冲浪宝典
软件教学 认证考试

网络安全 网络办公 行业资讯 评测对比
您当前位置:站长天空 -> 网络编程-> ASP.NET教程
Setup CDONTS on Windows 2000 SMTP with[等级:中、高](转载:aspfree)-.NET教程,E-mail专题
作者:网友供稿 点击:5
推荐
西部数码-全国虚拟主机10强!20余项虚拟主机管理功能,全国领先!第6代双线路虚拟主机,南北访问畅通无阻!可在线rar解压,自动数据恢复设置虚拟目录等.免费赠送访问统计,企业邮局.Cn域名注册10元/年,自助建站480元起,免费试用7天,满意再付款!P4主机租用799元/月.月付免压金
站内搜索
文章页数:[1] 
this article covers one of the most common questions i see about getting email sent properly from an asp or asp.net page.   how do to setup my pc machine or server to send cdonts mail.  step 4 is generally what have to be setup. this article covers having a mail program and smtp service on the same server.   it already assumes you have a smtp server running on your network in either case.

we were working on an app that sends email using cdonts from our development web server.  we also run mail server on the same server that provides pop3, smtp, imap services.  the issue was getting both the mail programs smtp service and the windows 2000 smtp service that is provided as part of iis.   the problem is one service wouldnt start up due to both were trying to use the default smtp port 25.  there is a work around i discovered recently that allowed both to operate.  there is one issue with this setup, the windows 2000 smtp service wont be able to receive mail.  

for those developers who are at home, using a dial-up or broadband service.  ive found some isps that allow you to put their settings in the internet svc manager(ps: i cant guarentee this will work but its worth a shot!, if your isp comes after you, i claim no responsibility).  if your unsure what is being mentioned, verify the pop3 and smtp settings in your mail program such as outlook, outlook express or whatever you use and place the same smtp settings in iis.

install mail server program (imail, mercury mail etc..)
configure mail program(imail, mercury mail etc.) to route smtp traffic.  
open internet service manager, right click on smtp default virtual server, click advanced on general tab and edit the port to 26.  only edit the port if you have two smtp services running on the same server, otherwise leave port 25! 0



if your just trying to configure the windows smtp service provided by iis , open internet svc manager, right click on smtp default virtual server and follow step 4,
while in the smtp properties tab, click the delivery tab, select the advanced fill in the smart host information.  the fully-qualified domain name textbox needs the computername entered.  my experience this needs to be able to resolve in dns


start smtp in services control panel. (start, settings, control panel, admin tools, services icon)
stop and start mail program smtp service.
create an asp page or asp.net page to test out or download our examples

sample dwonload
原文
文章整理:站长天空 网址:http://www.z6688.com/
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

文章页数:[1] 


放大字体显示 缩小字体显示 打印文章 推荐给朋友
热门文章
·ASP.NET三层架构示例(中文版)-.NET教程,面向对象编程
·C#自定义控件制作篇-.NET教程,C#语言
·asp.net上传图片时,产生预览
·关于DataGrid 数据导入Excel乱码-ASP教程,数据库相关
·ado.net中数据库连接方式
·用asp.net(c#)连接oracle数据库的方法
·网页制作小技巧-ASP教程,ASP应用
·动态改变asp.net网页的标题
·asp.net中利用cookies保持客户端信息
·关于C#中switch语句的一点注意-.NET教程,C#语言
最新文章
·用vb.net 2005编写定时关机程序_vb/vb.net教程
·vb.net实现窗体图标最小化到状态栏_vb/vb.net教程
·如何提高google adsense单价:渠道篇_网赚技巧
·做百度主题推广的经验谈_网赚技巧
·解读电子商务规划关键词_站长心得
·手把手教你建立自己的网站_站长心得
·学网页设计与网页制作,你该做些什么?_站长心得
·写给新人的google排名知识_google推广
·google网络推广adwords帐户申请解析_google推广
·如何合理提高google adsense的收入_google推广
相关主题
  • setup /forestprep 命令不起作用_exchange server
  • 西部数码虚拟主机

    友情链接
    CNNIC 西部数码
    万网 自助建站
    虚拟主机 asp空间
    域名注册 域名
    域名申请 主页空间
    论坛空间 网站空间
    国际域名 虚拟空间
    空间租用 DDOS防火墙
    成都主机托管 四川主机托管
    主机租用 服务器租用
    网站目录 自助建站
    虚拟主机 网址大全
    软件下载
    自助链接
    虚拟主机资讯 特价虚拟主机
    版权申明:本站文章均来自网络,如有侵权,请联系我们,我们收到后立即删除,谢谢!
    关于我们:站长天空:专业提供最新的站长资讯、在线教程、虚拟主机权威评测、虚拟主机性能对比、网站制作教程,开发教程,站长工具。包括网页制作教程、冲浪宝典、编程参考、操作系统、软件教学、行业动态等。
    特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有。
    发表评论 打印  刷新     关闭