发送电子邮件到MS Exchange 2007的凭据 [英] Credentials for Send Emails to MS Exchange 2007

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

问题描述



我正在编写一个非常简单的应用程序来通过MS Exchange 2007发送电子邮件。启动应用程序无需身份验证。
但是,我的应用程序将安装在集线器传输服务器,而不是邮箱服务器。因此,我不确定是否需要在我的代码中提供任何凭据来发送电子邮件。或者我可以简单地使用"CredentialCache.DefaultNetworkCredentials"和"CredentialCache.DefaultNetworkCredentials"。发送电子邮件?

我是.NET新手。
请帮助。

谢谢。

干杯,
Kevin
-----------------

解决方案

通常你不需要检查凭据,但您的服务器可能配置为需要您检查身份验证。所以我认为您需要检查服务器的配置并检查它是否需要身份验证以及是否启用了SSL。

Hi,

I am writing a very simple application to send emails via MS Exchange 2007. No authentication is required to start the application.
However, my application will be installed on the Hub Transport Server, instead of the Mailbox Server. Hence, I am not sure if I need to provide any credentials in my codes to send the emails. Or can I simply use "CredentialCache.DefaultNetworkCredentials" to send the emails?

I am new to .NET.
Please help.

Thank you.

Cheers,
Kevin
-----------------

解决方案

Normally you don't require to check for credentials but it could be possible that your server is configured such that it require you to check for authentication. So I think you need to check the configuration of your server and check whether it require authentication and also whether SSL is enabled.


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

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