exchange-server

Does Exchange Server (in-house) suppport REST API?

倾然丶 夕夏残阳落幕 提交于 2019-12-04 12:14:17
问题 This document that applies to Exchange Server suggests that the bulk of API / Web Services is SOAP based: https://msdn.microsoft.com/en-us/library/office/dd877012(v=exchg.150).aspx However i see that Office 365 (which i assume is cloud based) supports a REST API. https://msdn.microsoft.com/en-us/library/office/dn776319(v=exchg.150).aspx But there it says that this documentation applies to Exchange Online / Office 365 only. So if i have an in-house Exchange Server, will it also support REST?

How Can i Send Mail Through Exchange Server by using SMTP

a 夏天 提交于 2019-12-04 11:20:53
I want to Run Below code without NetworkCredential nc = new Net.NetworkCredential("USERNAME", "PASSWORD"). BY using Only Exchange Host (Server Name) And Port Im Getting Error For this code : Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender protected void SendEmail(object sender, EventArgs e) { SmtpClient smtpClient = new SmtpClient("ExchangeServerName",25); MailMessage message = new MailMessage(); try { MailAddress fromAddress = new MailAddress("bala@OfficeName.com", "From Me"); MailAddress toAddress = new MailAddress("bala@OfficeName

How do I get the displayname of the logged in user in EWS?

不羁的心 提交于 2019-12-04 10:37:39
Exchange Autodiscovery will give me the user's Display Name via the UserSettingName.UserDisplayName property. However, in cases where autodiscovery fails and connection needs to be done manually I can't figure out how to get the DisplayName. I tried this, but I just get the users' email address: _service = new ExchangeService(); _service.Credentials = new System.Net.NetworkCredential(exchangeSettings.EmailAddress, exchangeSettings.Password); _service.Url = new Uri(exchangeSettings.ExternalEwsUrl); NameResolutionCollection resolvedNames = _service.ResolveName(exchangeSettings.EmailAddress);

Using EWS API to search through different users mailboxes

本小妞迷上赌 提交于 2019-12-04 10:08:05
问题 We are developing a module with the main goal being to track and collect information about damage inspections (insurance market). Each case has a code (e.g. L000525). Each case could be managed by several people. All the emails related to a specific case include the case code in the subject. What we want to do is to collect and show the incoming and sent emails related to each specific case. The idea is that any user can open a "Case management" window, select an specific case, and then get

Techniques for integrating an ASP.NET intranet app with the Outlook calendar

风格不统一 提交于 2019-12-04 04:59:56
I can ignore the braying of my users no longer. They want a task scheduling system and at some point I have to deliver. I was thinking of making my own (can't be hard), but then users would have two side-by-side task managements systems since they already use Outlook for the same thing. In terms of Outlook calendar / task integration, two possible approaches occurred to me: 1) Use JavaScript and Automation I seem to remember it's possible to do automation in JavaScript. PROS: I've done automation before. CONS: Automation is horrible! Some persistence (Outlook entities) is the responsibility of

Can we connect to Exchange 2016 using EWS Managed API?

自闭症网瘾萝莉.ら 提交于 2019-12-04 03:35:02
I am using EWS Managed API 2.2 and it does not show the Exchange version 2016 in its enumeration. I can see the versions upto Exchange 2013. So how can I connect to Exchange Server 2016? Is the API, yet to be updated from Microsoft or do I need to use any other API's to connect to Exchange 2016 ? It will connect just fine. You don't need to set the version to match the server, you set the version to indicate the lowest level of service you support. 来源: https://stackoverflow.com/questions/34774101/can-we-connect-to-exchange-2016-using-ews-managed-api

Automatically moving all mails belonging to same conversation thread to external folder

扶醉桌前 提交于 2019-12-04 02:09:35
问题 Hi I have Exchange Server 2007 setup with some users with their own inbox. Since this is all related to office conversations I want to move all the incoming and outgoing mails belonging to same conversation thread to disk folder (any folder on his machine say D:\Conversation1 ). I am able to let user create separate disk folder for each conversation and let him move first mail in conversation to this folder. So that is not the problem now. Also I have written a web app which when provided the

Getting a sent MailMessage into the “Sent Folder”

时光总嘲笑我的痴心妄想 提交于 2019-12-04 01:30:30
I'm sending MailMessages with an SmtpClient (being delivered successfully) using an Exchange Server but would like my sent emails to go to the Sent Folder of the email address I'm sending them from (not happening). using (var mailMessage = new MailMessage("fromaddress@blah.com", "toaddress@blah.com", "subject", "body")) { var smtpClient = new SmtpClient("SmtpHost") { EnableSsl = false, DeliveryMethod = SmtpDeliveryMethod.Network }; // Apply credentials smtpClient.Credentials = new NetworkCredential("smtpUsername", "smtpPassword"); // Send smtpClient.Send(mailMessage); } Is there a

JavaMail with MS Exchange: No authentication mechansims supported by both server and client

拜拜、爱过 提交于 2019-12-04 00:36:06
问题 I've been trying for days now to send mail from Grails application and unsuccessfully. I'm using: grails 1.3.7 mail 1.0 plugin spring-security-core 1.2.6 plugin tomcat 7.0.23 Specifficaly I'm trying to send mail with Exchange from application deployed on Tomcat server trought port 25 with no authentication, no SSL. I've tried to send message with telnet from the VMWare virtual machine on which the app is deployed and it got trough. This is my class for sending mails: public boolean

Exchange server will not accept username/password provided with javax.mail API

左心房为你撑大大i 提交于 2019-12-03 22:30:49
I have a lovely little Java client that sends signed email messages. We have an Exchange server that requires username/password authentication to send a message. When I connect to the exchange server, I get this error: avax.mail.AuthenticationFailedException: failed to connect at javax.mail.Service.connect(Service.java:322) at javax.mail.Service.connect(Service.java:172) When I connect to other servers (Unix servers), I have no problem. Below is the full debug trace. I can't figure it out. DEBUG: JavaMail version 1.4.2 DEBUG: successfully loaded resource: /META-INF/javamail.default.providers