asp.net发送错误电子邮件 [英] asp.net to send email on error

查看:128
本文介绍了asp.net发送错误电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在.net4上的Windows Server 2003上托管了一个wesite.
发生错误时,我需要向我发送电子邮件.我可以在xp上实现此功能,因为我可以获取smtp,但无法在服务器的IIS中找到smtp设置.有谁知道该如何工作

谢谢



i have a wesite hosted on a windows server 2003. with .net4.
i need an email to be send out to my when an error occurs. i am able to achieve this on my xp as i can get the smtp, but not able to find the smtp setting in IIS in the server. does anyone know how get this working

thanks

推荐答案

在这里,你走了,
配置服务器SMTP IIS以发送邮件 [ http://www.microsoft.com. com/technet/prodtechnol/WindowsServer2003/Library/IIS/e4cf06f5-9a36-474b-ba78-3f287a2b88f2.mspx?mfr = true [
Here you go,
Config the Server SMTP IIS to send Mail[^]
and
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e4cf06f5-9a36-474b-ba78-3f287a2b88f2.mspx?mfr=true[^]


来自 http://www.google.com/#hl=zh-CN& ; q = send + email + from + asp.net [ ^ ].

例如,这可能很有希望: http://www.4guysfromrolla.com/articles/072606-1.aspx [ ^ ]
From http://www.google.com/#hl=en&q=send+email+from+asp.net[^].

For example this could be promising: http://www.4guysfromrolla.com/articles/072606-1.aspx[^]


这篇关于asp.net发送错误电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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