exchange-server

Exchange Server 2007 Web Services PHP Class

久未见 提交于 2019-12-02 19:51:51
Does anyone know of an open source PHP class (preferably BSD or MIT license) that will interface with the MS Exchange Server 2007 Web Services via. SOAP? I am looking for a higher level class that has functionality for sending messages via. the web service. I had this same problem, so I started building something, here: https://github.com/rileydutton/Exchange-Web-Services-for-PHP It doesn't do much yet (basically just lets you get a list of email messages from the server, and send email), but it would be good enough to use as a basic starting point for doing some more complicated things. I

How to get email body, receipt, sender and CC info using EWS?

独自空忆成欢 提交于 2019-12-02 18:06:19
Can anyone tell me how to get an email body, receipt, sender, CC info using Exchange Web Service API? I only know how to get subject. ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010); service.Credentials = new NetworkCredential("user", "password", "domain"); service.Url = new Uri("https://208.243.49.20/ews/exchange.asmx"); ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true; FindItemsResults<Item> findResults = service.FindItems( WellKnownFolderName.Inbox, new ItemView(10)); foreach (Item item in findResults

Is it OK to install CDO 1.21 with Exchange Server 2010 SP3/ Windows Server 2012?

久未见 提交于 2019-12-02 17:56:16
问题 We are upgrading our server to Windows 2012 from 2003. Our application use CDO 1.21 and MAPI to send mails, I know I have to use SMTP/ OOM/AWS. At this late stage I don't want to do make changes in our programs right now - there are 80+ :) When I am going to MS site to download CDO 1.21, Windows 2102/Exchange Server 2010 SP3 is not specified under supported platforms. I am able to download CDO 1.21 for Win 2012. But now when I am connecting via MAPI, System is throwing error: The information

Create appointment with custom properties in EWS

假装没事ソ 提交于 2019-12-02 17:16:10
问题 I try to add a custom property to created appointments like this: var newEvent = new Appointment(service) { Start = start, End = end, Subject = subject, ReminderMinutesBeforeStart = 15 }; var extendendProperty = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Address, "organizer", MapiPropertyType.String); newEvent.SetExtendedProperty(extendendProperty, organizer); but problem is that when I try get this appointment from server, property ExtendedProperty is empty. In addition I

Find out which users have Full Access on a mailbox

白昼怎懂夜的黑 提交于 2019-12-02 17:14:34
问题 I am trying to draw a graph of which Exchange User has which permissions on which Exchange mailboxes, coloring them according to the type of permission. As of now, I cannot find out all types of permissions that Exchange takes into account. I can, using EWS, find out who was granted access to a mailbox by the user himself: foreach(var permission in calendarFolder.Permissions) { // do sth. } But then there is the possibility that an admin grants someone permission over a mailbox by adding him

PHP: Sending Email with Cyrillic (Ukrainian text)

别来无恙 提交于 2019-12-02 16:38:18
问题 Problem with sending Cyrillic Email with PHP. My side: Server IIS - Database MsSQL - email server: Exchange 2010 /communication via PHP EWS/ Reciever is UA Goverment owned company with their specific software for receiving emails. It is working with MS Outlook /manually send/. I tried send it as text /not html/ or i tried PHP Mailer, i also already tried with C# /all are not working with this specific company /on gmail or hotmail it's working fine//. $ews = new ExchangeWebServices($server,

Does “System.Net.Mail.DeliveryNotificationOptions” only work with Exchange?

给你一囗甜甜゛ 提交于 2019-12-02 12:00:00
问题 We have an application that is running on a SharePoint 2010 server that sends an email. We (the sender) want to receive delivery notifications but we are unable to retrieve them on the live system. I've set the System.Net.Mail.DeliveryNotificationOptions to OnSuccess | OnFailure | Delay and it is running fine on our internal test system. I receive the notifications in my inbox (which is the "from address" that I used). Internally we use Exchange 2007. At the customer site with the same

Save Email as MSG file without using Outlook (COM object, etc.) or 3rd party software

牧云@^-^@ 提交于 2019-12-02 10:08:22
问题 Right now, I'm using the Exchange Web Services API with PowerShell to pull down specific emails from exchange and save them as EML files. This works great; however, the user/customer requires the emails to be in msg format. There are two ways that I've seen to do this: Use Outlook/Outlook COM Object Use a 3rd party library or software (like this: http://www.independentsoft.de/exchangewebservices/tutorial/downloadmessagetomsgfile.html) Are there any other alternatives? I would like to stick

Outlook macro runs through 250 iterations before failing with error

自作多情 提交于 2019-12-02 09:36:54
Description: I have an Outlook macro that loops through selected emails in a folder and writes down some info to a .csv file. It works perfectly up until 250 before failing. Here is some of the code: Open strSaveAsFilename For Append As #1 CountVar = 0 For Each objItem In Application.ActiveExplorer.Selection DoEvents If objItem.VotingResponse <> "" Then CountVar = CountVar + 1 Debug.Print " " & CountVar & ". " & objItem.SenderName Print #1, & objItem.SenderName & "," & objItem.VotingResponse Else CountVar = CountVar + 1 Debug.Print " " & CountVar & ". " & "Moving email from: " & Chr(34) &

IMAP search for email address in the from field

淺唱寂寞╮ 提交于 2019-12-02 09:18:03
问题 I am trying to search and filter my imap mails using python's imaplib. I am running into a quite strange problem with the search command, searching for email addresses in the FROM field. I have the following script, print('search with name') status, results = con.search(None, '(FROM "Shrikant Sharat")') if status == 'OK': if results[0]: mid = results[0].split()[0] print('mail id', mid) print(con.fetch(mid, '(UID BODY[HEADER.FIELDS (FROM)])')) else: print('No results yielded') else: print(