C#,通过Exchange服务器发送邮件? [英] C# , Sending email through exchange server?

查看:687
本文介绍了C#,通过Exchange服务器发送邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜索了这个并尝试了几种使用System.Net.Mail的方法,但我无法让它工作。我想使用他们工作的Exchange服务器发送电子邮件。任何人都可以告诉我如何执行此操作(服务器需要身份验证)

I've searched on this and tried several methods using System.Net.Mail but I can't get it to work. I want to send email using the Exchange server they have at work. Anyone could show me how to do this (server requires authentication)

提前致谢

推荐答案

通过System.Net.Mail类/命名空间做什么不起作用?没有使用Exchange的经验,我会认为相同的规则适用于SMTP服务器/端口和用户凭证吗?
what doesnt work when doing it via the System.Net.Mail classes/namespace? Having no experience in using Exchange, I would have thought that the same rules apply in terms of SMTP server/port and user credentials?


这篇关于C#,通过Exchange服务器发送邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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