exchange-server

EWS-managed: Fetch required and optional attendees of appointments

左心房为你撑大大i 提交于 2019-12-20 01:46:39
问题 As far as I am now, I know how to fetch appointments from exchange server, BUT as soon as I want to see the required and optional attendees, these fields are empty ... I checked the appointment trice and there is an attendee, except me. Do I have to config Outlook differently or do I miss something? List<Appointment> listOfAppointments = new List<Appointment>(); CalendarFolder cfolder = CalendarFolder.Bind(MyService, WellKnownFolderName.Calendar); CalendarView cview = new CalendarView(from

EWS-managed: Fetch required and optional attendees of appointments

二次信任 提交于 2019-12-20 01:46:03
问题 As far as I am now, I know how to fetch appointments from exchange server, BUT as soon as I want to see the required and optional attendees, these fields are empty ... I checked the appointment trice and there is an attendee, except me. Do I have to config Outlook differently or do I miss something? List<Appointment> listOfAppointments = new List<Appointment>(); CalendarFolder cfolder = CalendarFolder.Bind(MyService, WellKnownFolderName.Calendar); CalendarView cview = new CalendarView(from

EWS Managed API breaks Appointment HTML message body on update

☆樱花仙子☆ 提交于 2019-12-19 16:54:35
问题 I'm using EWS Java 1.2, although 2.0 in C# shows the exact same issues, and Exchange 2010 SP3, so a particular bug in SP2 prior to rollup 3 regarding message bodies is not the problem. Long story short: EWS + Exchange = pain. Using EWS in Exchange, you can create an Appointment. You can specify that the message body of the Appointment be HTML and give it a bunch of HTML to go with it. This will do some kind of HTML -> RTF conversion that wrecks the HTML when you view it in an Outlook desktop

How to use Javamail for accessing additional mailboxes (IMAP, Exchange 2010)

自闭症网瘾萝莉.ら 提交于 2019-12-19 10:42:52
问题 I want to access a shared mailbox (NOT FOLDER) via Javamail API (1.4.5) using IMAP(s) with plain logon. The mailserver is a Exchange Server 2010. User: user1 (user1@domain.com) pwd: xxxx shared mailbox: shared_MB@domain.com I´ve managed to get access to the user1 - mailbox: Session session = Session.getInstance(properties, new ExchangeAuthenticator(username, password)); session.setDebug(true); Store store = session.getStore("imaps"); store.connect(imapHost, username, password); properties:

Specifying the bounce-back address for email

拥有回忆 提交于 2019-12-19 10:23:11
问题 I'm having a problem getting emails to bounce to a specific email address, different to the From address. A particular client requires that we send emails from a specific email address (call it contact@clientcompany.com ). Our Exchange admins have created an account on the Exchange box so that we can log in and send from that address. Our Exchange server is spoofing that address / domain. This works fine. Unfortunately the emails sent from contact@clientcompany.com are not bouncing back to us

Help with Exchange 2010 EWS (API) and/or PHP's NuSOAP library?

女生的网名这么多〃 提交于 2019-12-19 10:04:12
问题 Just to be clear before continuing: using PHP's built-in SOAP class is unfortunately not an option here (production server's PHP is not built with it, and won't be). I'm trying to use EWS to allow me to authenticate users for a completely external server application. LDAP authentication has been disallowed. I have verified my EWS wsdl is correct via http://www.testexchangeconnectivity.com/, a Microsoft autodiscover tool. The contents of the WSDL can be found here: http://pastebin.org/214070

Getting Exchange Appointments by ICalUid?

懵懂的女人 提交于 2019-12-19 05:37:30
问题 So I'm creating Exchange (2007) Appointments with a given ICalUid: var app = new Appointment(svc); app.ICalUid = id; app.Subject = "Test Appointment"; app.Recurrence = new Recurrence.DailyPattern(DateTime.Now, 3); app.RequiredAttendees.Add("mstum@example.com"); app.AllowNewTimeProposal = false; app.Body = new MessageBody(BodyType.HTML, "This is a <b>Test!</b>"); app.Save(); Later on, I would like to update that appointment, at which point I need to find it through the ICalUid. However, there

ConversationId property vs ConversationIndex property in Exchange Web Services managed API

你离开我真会死。 提交于 2019-12-19 03:43:47
问题 EWS Managed API have two properties:ConversaionId and ConversationIndex What is the difference between them? I guess ConversationId is the the ConversationIndex of the first mail in the conversation which is essentially of 22 bytes, while ConversationIndex is the index of that particular reply in the conversation thread, essentially of 22 bytes + multiples of 5 bytes for each reply in the conversation. Is it like that? Also ConversationId is accessible only with Exchange Server 2010 onwards.

Can't retrieve Appointment.StartTimeZone through EWS Managed API on Exchange 2007 SP1

不羁的心 提交于 2019-12-19 03:16:18
问题 I can retrieve the Appointment.TimeZone for items with: PropertySet propertiesAll = new PropertySet(BasePropertySet.IdOnly, ..., AppointmentSchema.TimeZone, AppointmentSchema.StartTimeZone, ...); ServiceResponseCollection<ServiceResponse> response = Exchange.LoadPropertiesForItems(items, propertiesAll); But not Appointment.StartTimeZone which returns null. Appointment.TimeZone is string and seems to be comparable to DisplayName of TimeZoneInfo objects, but unfortunately this seems to be in

Powershell to Exchange 2013 - Restricted language mode error

让人想犯罪 __ 提交于 2019-12-18 17:23:48
问题 I'm working on a C# web service that will be deployed on an Exchange 2013 server. This service will be responsible for running powershell commands to configure Exchange. I connect via a runspace created like this const string shellUri = "http://schemas.microsoft.com/powershell/microsoft.exchange"; var uri = new Uri(_exchangeConnectionUri); var credentials = (PSCredential)null; // Windows authentication var connectionInfo = new WSManConnectionInfo(uri, shellUri, credentials); connectionInfo