问题标签 [exchange-server-2013]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - 使用 Exchange Web Services Api 2.0 和 Java 在 Exchange Server 中添加约会
我想使用 Java 和 Exchange Web Services Api 2.0 在我的 Exchange server 2013 中添加一个新约会。
但我总是有这个例外:
线程“主”microsoft.exchange.webservices.data.ServiceRequestException 中的异常:请求失败。请求失败。证书中的主机名不匹配:<10.0.6.4> != ms-ex
这是我的代码的一部分:
exchange-server - Exchange 2013 限制每天发送的电子邮件
在 Exchange 2013 中是否可以限制每天发送的电子邮件数量?我想确保当时没有人向 1000 多个收件人发送垃圾邮件。
提前致谢
java - Exchange server 2013 与 java 的连接
我正在尝试使用 java 7 连接到 Exchange server 2013。问题是当我尝试设置 Exchange 版本
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1);
时,2007 和 2010 是唯一可用的选项。请注意,我使用的是exchange-ws-api-1.1.5.jar。是否有更新的 jar 交换 2013。
提前谢谢。
c# - Exchange Server 2013 EMail Driver
I have a C# program that connects to my Exchange Server 2010 and is able to read every email.
I am using the microsoft.exchange.webservices.dll
library.
The problem is, that this program gives back the following exception on Exchange Server 2013:
"The remote server returned an error: (501) Not Implemented."
I have no idea what's the difference between these 2 servers.
Edit: Some Code Snippets:
ExchangeVersion version = ExchangeVersion.Exchange2013;
ExchangeService service = new ExchangeService(version);
service.Credentials = new NetworkCredential("user", "pw", "domain");
service.AutodiscoverUrl("emailaddr");
and here happens the exception:
SearchFilter sf = new SearchFilter.SearchFilterCollection(LogicalOperator.And, new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false));
FindItemsResults<Item> findResults = service.FindItems(WellKnownFolderName.Inbox, sf, new ItemView(20));
service.LoadPropertiesForItems(findResults.Items, PropertySet.FirstClassProperties);
string mailsender = item.LastModifiedName;
powershell - "Access Is Denied" error when attempting to remote to Exchange server on localhost
I am attempting to establish a PowerShell session to run several Exchange commands against an Exchange server on the localhost. I keep getting the following error:
My code is a copy paste from the Microsoft Technet Article. It works against remote machine, but anytime I target the machine I am running from, I get the above error.
What I've tried so far:
- Checked the
about_remote_troubleshooting
help topic. Nothing in there relating to Access Denied errors worked. - Targeted remote machines using the same credentials as received the Access Denied error. (Connected without issue)
- Verified that my PowerShell session is running as Administrator. (It is)
- Verified that the Exchange Management Shell is able to launch successfully. (It is)
- Tried without credentials to see if that would work. (It didn't)
- Checked
net use
andnet session
to make sure I didn't have a weird multiple connections with the same credentials issue. (I didn't see anything to indicate that) - Tried this both from the script that is causing issues and by typing the commands into a powershell console by hand. (got the same results both ways. Yay for consistency)
- Tried this on multiple systems. (Same result everywhere)
Some quick notes:
- This is Exchange 2013 running on Windows Server 2012. It's a basic installation, just a test environment that has very little data and minimal configuration beyond installing and enabling remoting.
- The Credentials used were for the domain admin, which also has the necessary Exchange permissions to do whatever I need to do. I.e, so long as I target a machine that is not the one I am running from, I have no issues whatsoever, with nothing else changing about the way I am connecting. Additionally, this is a test domain where the domain admin's access hasn't been restricted or tweaked in any way, so it should have total and complete access to everything.
The specific commands I am entering are:
Is connecting to the localhost like this something that I should be able to do? Or is it just not supported?
I am at a complete loss at this point. Any help, even to point me in the right direction, would be greatly appreciated.
EDIT: I should add, I've attempted connecting to this localhost from a different machine, using the same commands as above, and it worked without issue. So, I don't think it is a local configuration issue.
exchange-server - ActiveSync 共存失败
我有一个多租户 Exchange 环境,并且正在从 Exchange 2007 迁移到 2013。我在 2007 年通过我的 2013 CAS 使用 ActiveSync 时遇到了问题。这是我的环境的样子:
- 面向 Internet 的 Exchange 2007 CAS 2007cas1/10.1.1.2/204.228.1.2(名称/内部 IP/外部 IP)
- 非面向 Internet 的 Exchange 2007 CAS 2007cas2/10.1.1.3(名称/内部 IP)
- 面向 Internet 的 Exchange 2013 CAS/MBX 2013casmbx1/10.1.1.4/204.228.1.4(名称/内部 IP/外部 IP)
- 2007 网址:webmail.hosteddomain.com
- 2013 网址:testmail.hosteddomain.com
- 证书:第三方CA通配符证书
我已经验证 OWA out OutlookAnywhere 工作。当我尝试通过 ActiveSync 连接到我的 Exchange 2007 邮箱(并且只有 2007)时,我的手机显示“无法连接到服务器”,并且我在 IIS 日志 (2013casmbx1) 中看到以下条目:
前端:2015-06-15 16:28:32 10.147.0.34 OPTIONS /Microsoft-Server-ActiveSync/default.eas &CorrelationID=;&ClientId=PYSJZZTTUA9DOEHLZDW&cafeReqId=3b8bbbeb-f258-4f82-8ae2-85ddb58433f7; 443 mtest2@customerdomain.com 10.2.1.2 Android/5.1.1-EAS-2.0 - 500 0 0 124
2015-06-15 16:47:44 10.147.0.34 GET /Microsoft-Server-ActiveSync/default.eas &CorrelationID=;&ClientId=YGEGSFJYKEWUKETSAGG&cafeReqId=96b81a28-90ab-45cf-9d7d-c117c7cba7d9; 443 域\mtest2_customerdomain 10.2.1.2 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 - 500 0 0 21612
后端:2015-06-15 16:28:32 fe80::24f5:677f:e642:1b83%12 选项 /Microsoft-Server-ActiveSync/Proxy/default.eas &Log=PrxTo:2007cas2.domain.local_PrxFrom:fe80 %3a%3a24f5%3a677f%3ae642%3a1b83%2512_V0_HH:testmail.hosteddomain.com_SmtpAdrs:mtest2%40customerdomain.com_Error:SendFailure_Mbx:2007mbx1.domain.local_Dc:dc01.domain.local_SBkOffD:L%2f-470_TmRcv1946:2ActivityContext:702946:2活动ID%3d3b8bbbeb-f258-4f82-8ae2-85ddb58433f7%3bI32%3aADR.C%5bDC01%5d%3d1%3bF%3aADR.AL%5bDC01%5d%3d1.1509%3bI32%3aADS.C%5bDC01%5d%3d3% 3bF%3aADS.AL%5bDC01%5d%3d2.216033%3bI32%3aADS.C%5bdc01%5d%3d1%3bF%3aADS.AL%5bdc01%5d%3d1.7718%3bI32%3aATE.C%5bdc01.domain。 local%5d%3d1%3bF%3aATE.AL%5bdc01.domain.local%5d%3d0%3bI32%3aATE.C%5bDC01.domain.local%5d%3d3%3bF%3aATE.AL%5bDC01.domain.local% 5d%3d5%3bS%3aWLM.Bal%3d480000%3bS%3aWLM.BT%3dEas_Budget:(D)所有者%3aSid%7eDOMAIN%5cMTest2%5Fcustomerdomain%7eEas%7efalse%2cConn%3a0%2
我验证了我们 2007 CAS 服务器上的 AS 虚拟目录如下所示:
- 内部网址:webmail.hosteddomain.com
- 外部网址:$null
- BasicAuthEnabled:真
- WindowsAuthEnabled: 假
最后,我验证了我的测试用户是否启用了继承。
由于当我不尝试通过 Exchange 2013 进行代理时,所有其他邮件客户端都工作并且 ActiveSync 工作,所以我不确定还有什么要检查的。想法?谢谢。
exchange-server-2013 - 授予 NetworkService (Domain\ComputerName$) 访问 Exchange Server 的权限
我们有一个运行 Intranet 应用程序的客户端,其应用程序池标识设置为 NetworkService。这意味着应用程序将以 Domain\ComputerName$ 用户的身份向其他服务展示自己。
在 Exchange 2013 上设置了一个共享邮箱。应用程序连接到邮件服务器以从邮箱中下载电子邮件。它使用 EWS 托管 API,但在这种情况下这无关紧要。
如何授予计算机帐户对共享邮箱的完全访问权限?它不会在“完全访问权限”框下显示为用户。这似乎是一个微不足道的安全配置,但我找不到办法。
exchange-server - 无法使用 c# 从 Exchg 2013 检索任何房间列表
我的交换服务有效。我可以通过 Outlook 查看所有房间,并且可以通过 Powershell 查看所有房间。但是有了这个片段,我无法检索任何房间
列表是空的!
email - winsock 错误代码 10060 交换 2013
我刚刚设置了一个 Exchange 2013 服务器,并使用我的 mx 记录有一个 intenret 发送连接器,没有智能主机,我安装了 cu9,但在我的交换 quque 中出现错误
与主要目标 IP 地址通信时遇到错误:“连接失败,Winsock 错误代码,10061,win32 错误代码 10061”
我也在这台服务器上安装了广告和 dns,我读过其他一些帖子,人们说他们重新创建了发送的连接器,我试过了,但邮件仍然卡住
我不确定需要更多信息,但很乐意分享
.net - Exchange Server - 使用管理员帐户获取其他用户的日历事件
我有一个要求,例如我需要使用 Exchange 服务 API 中的管理员帐户获取所有用户日历事件。我尝试过但无法实现,因此请就此提供建议。PFB 代码供您参考。我正在使用 Exchange 服务器版本 2013_SP1。在下面的代码中,我只能获取一个用户日历事件的详细信息。