exchange-server

How to get contact list from Exchange Server?

爱⌒轻易说出口 提交于 2019-12-17 23:34:32
问题 Can anyone tell me the simplest way to get a contact list from Exchange Server? I'm using C# From what I found out, Exchange Web Services only exists for Exchange Server 2007 and beyond. That would be my first option, but I'd also like an alternative for previous versions of Exchange (WebDav or something). Directory Services is not an option. 回答1: This is how to get the contact list from your contacts list in exchange using EWS. I'm not sure how to get contacts from the global list yet, only

Modifying EKParticipants (attendees) in EventKit like Sunrise

陌路散爱 提交于 2019-12-17 15:43:23
问题 My goal is to add some invitees to an EKEvent . I've looked into other questions like this, such as this one, but all say that it is essentially impossible to add EKParticipant s to an EKEvent programmatically. I do see that the attendees property is read-only, but I see other services like Sunrise using it in their mobile app. I'm confident that they're using some system that at least partially integrates with EventKit because they're pulling in calendars from the user's iCal app. Invites

Cannot get ActionMailer working with MS Exchange via SMTP

折月煮酒 提交于 2019-12-17 15:41:22
问题 Here's my simple test program (using ActionMailer 3.0.8, Ruby 1.9.2p180 Mac OS X): require 'rubygems' require 'action_mailer' ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "my_exchange_server", :port => 25, :domain => 'my_domain.org', :authentication => :login, :user_name => 'my_user', :password => 'my_password', :enable_starttls_auto => false } ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.perform_deliveries = true

How To Get all ITEMS from Folders and Sub-folders of PublicFolders Using EWS Managed API

孤街醉人 提交于 2019-12-17 12:46:18
问题 How to retrieve all items from "public folders" and its "sub-folders" in exchange server2010 uisng managed API??? rootfolder = Folder.Bind(service,WellKnownFolderName.PublicFoldersRoot); rootfolder.Load(); foreach (Folder folder in rootfolder.FindFolders(new FolderView(int.MaxValue))) { FindItemsResults<Item> findResults = folder.FindItems(iv); foreach (Item item in findResults) { //get item info; } } "If i do like this i am not getting items present in sub-folders of it..public folders does

Send SMTP email using System.Net.Mail via Exchange Online (Office 365)

冷暖自知 提交于 2019-12-17 10:23:43
问题 We are testing the new Office 365 beta, and i have a mail account on the Exchange Online service. Now I'm trying to connect a LOB application that can send smtp emails from my test account. However the Exchange 365 platform requires TLS encryption on port 587, and there is a 'feature' of System.Net.Mail that does not permit Implicit SSL encryption. Has anyone managed to get C# sending mails via this platform? I have the following basic code that should send the mail - any advice would be

Are there any API to integrate Microsoft exchange server with Java application for Task synchronization?

南笙酒味 提交于 2019-12-17 06:12:51
问题 I am trying to integrate Java web application with Microsoft Exchange server for bi-directional calendar (i.e. Task) synchronization. Are there any Java Open-Source / Commercial API for this integration? Thanks, Venkat 回答1: Take a look at j-Exchange and SyncEx. This issue was once discussed on Java Forums 回答2: Found this commercial API, offers quick solution to integrate with Exchange Server. http://www.independentsoft.de/jwebservices/index.html 回答3: http://blogs.msdn.com/b/exchangedev

Are there any API to integrate Microsoft exchange server with Java application for Task synchronization?

China☆狼群 提交于 2019-12-17 06:12:23
问题 I am trying to integrate Java web application with Microsoft Exchange server for bi-directional calendar (i.e. Task) synchronization. Are there any Java Open-Source / Commercial API for this integration? Thanks, Venkat 回答1: Take a look at j-Exchange and SyncEx. This issue was once discussed on Java Forums 回答2: Found this commercial API, offers quick solution to integrate with Exchange Server. http://www.independentsoft.de/jwebservices/index.html 回答3: http://blogs.msdn.com/b/exchangedev

EWS - Access All Shared Calendars

不想你离开。 提交于 2019-12-17 04:34:20
问题 I've got the following code: private void ListCalendarFolders(ref List<EBCalendar> items, int offset) { var pageSize = 100; var view = new FolderView(pageSize, offset, OffsetBasePoint.Beginning); view.PropertySet = new PropertySet(BasePropertySet.FirstClassProperties); view.PropertySet.Add(FolderSchema.DisplayName); view.PropertySet.Add(FolderSchema.EffectiveRights); view.Traversal = FolderTraversal.Deep; FindFoldersResults findFolderResults = service.FindFolders(WellKnownFolderName

PowerShell Search-Mailbox Search Query Troubles

旧时模样 提交于 2019-12-14 04:00:58
问题 Attempting my hand at some PowerShell scripting. I would like to remove Voice Messages from Inbox's after a certain period of time. The code gets all mailboxes within an organization and pipes them to a Search-Mailbox. Then I need to query the mailboxes using the -searchquery option. It does not seem to like how I am placing the Date variable into the query. $Date = (Get-Date).AddDays(-19) $Test = $Date.toString("MM/dd/yyyy") $SB = [scriptblock]::create("Sent: $Test AND Attachment:`

How to read de Exchange Database?

笑着哭i 提交于 2019-12-14 03:58:26
问题 im creating an application that have to read and update Contacts Information (like phone number, email, etc..) from Microsoft Exchange... Does any one know how can i connect to a MS Exchange DB ?? 回答1: WebDAV is what i use... Here's a function i wrote to access our exchange server (be kind i wrote it years ago).. (: /// <summary> /// Returns XML string for a specific query /// </summary> /// <param name="Query"></param> /// <param name="Account"></param> /// <param name="Folder"></param> ///