Sign in
Dan's WebDAV 101
This blog covers Messaging API development for Exchange and Outlook. My name is Daniel Bagley, I'm on the Messaging Developer Team.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
.msg
.net
2000
2003
2007
2010
activesync
api
appointment
appointments
attachment
attachments
authentication
basic
body
C#
c++
CDO
CDO 1.21
CDOEX
CDOSYS
crash
create
Csharp
custom
custom mail headers
debugging
delete
DevMsgTeam
distribution
dump
dumps
eas
enumerate
EWS
example
examples
Exchange
Exchange 2007
Exchange 2010
exchange managed API
exchange web services
exoledb
FBA
file
folder
folders
Forms based authentication
free
freebusy
get
hang
HOWTO
http
ical
icalendar
item
List
mailbox
mapi
meeting
meeting request
message
message body
messaging
mime
MOVE
oof
OOM
Outlook
OWA
powershell
properties
propfind
proppatch
put
read
sample
samples
schema
script
search
security
smtp
stream
support
supported
System.Net.Mail
System.Web.Mail
VB
vb script
vb.net
vb6
VBS
vbscript
VCalendar
webbdav
WebDAV
webdav101blog
xml
Browse by Tags
MSDN Blogs
>
Dan's WebDAV 101
>
All Tags
>
exchange web services
Tagged Content List
Blog Post:
The importance of EWS Impersonation while using an application account.
Webdav101
Developers of applications which require access to user mailboxes often struggle with the choice between the Impersonation and Delegation access methods. While both provide programmatic rights to mailbox objects, they are designed to meet rather different needs, and for situations where a single account...
on
27 Jun 2012
Blog Post:
Howto: Set the organizer of a meeting on the calendar of an attendee using EWS.
Webdav101
I would like to say that this is something which is easily possible - however, I cannot. Setting the organizer directly in code is not supported. Historically, having the organizer over-writable has caused some pretty bad situations for customers. When a meeting is created, the organizer property is...
on
28 Sep 2011
Blog Post:
Howto: Example to retrieve the body property of a message using the Exchange Managed API.
Webdav101
public string GetItemMime(ItemId oItemId) { string sReturn = string.Empty; PropertySet oMimePropertySet = new PropertySet(ItemSchema.MimeContent); Item oItem = Item.Bind(_ExchangeService, oItemId, oMimePropertySet); return oItem.MimeContent.ToString() ; } public string GetItemMime...
on
28 Sep 2011
Blog Post:
Howto: Example to retrieve the html body property of a message using the Exchange Managed API.
Webdav101
public string GetMessageBodyAsHtml(Item oItem) { string sRet = string.Empty; PropertySet oPropSet = new PropertySet(PropertySet.FirstClassProperties); oItem.Load(PropertySet.FirstClassProperties); PropertySet oPropSetForBodyText = new PropertySet(PropertySet.FirstClassProperties...
on
28 Sep 2011
Blog Post:
Howto: Example to retrieve the body property of a message using the Exchange Managed API.
Webdav101
public string GetMessageBody(Item oItem, BodyType oBodyType) { string sRet = string.Empty; PropertySet oPropSet = new PropertySet(PropertySet.FirstClassProperties); oItem.Load(PropertySet.FirstClassProperties); PropertySet oPropSetForBodyText = new PropertySet(PropertySet.FirstClassProperties...
on
28 Sep 2011
Blog Post:
Consider the full impact of Exchange Set-MailboxCalendarSettings and Set-CalendarProcessing before changing settings
Webdav101
Many messaging developers and Exchange administrators are not aware of possible effects of MailboxCalendarSettings settings. While these options provide much needed capabilities which remove the need for specialized code, caution should be exercised as MailboxCalendarSettings can drastically affect any...
on
17 Feb 2011
Blog Post:
Howto: Read OOF info using EWS and VBScript against an Exchange 2010 SP1
Webdav101
' Here is a code sample showing how to read OOF info using EWS from VBScript against an Exchange 2010 SP1 box. Const strUrl = " https://mail.mycompanyetc.com/ews/exchange.asmx " ' TODO: Change Const strUser = "myuserid" ' TODO: Change Const strPass = "mypassword" Const strDom = "myusersdomain...
on
4 Jan 2011
Blog Post:
Howto: Set multiple extended properties on a folder using raw XML for EWS with a POST
Webdav101
Hmmm, there are very few samples on setting multiple extended properties on folders using a POST to EWS... so, I thought I would blog one. This sample can be used with: http://blogs.msdn.com/webdav_101/archive/2009/02/27/howto-post-xml-to-ews-using-exchangeservicebinding-credentials.aspx ...
on
27 Feb 2009
Blog Post:
Howto: Post XML to EWS using ExchangeServiceBinding credentials.
Webdav101
Here is a sample which shows how to use the connection of the Exchange Service Binding to do a POST to EWS using an XML string. // Sample calling code: private void cmdExecute_Click( object sender, EventArgs e) { string sRequest = string .Empty; bool bRet = false ; string...
on
27 Feb 2009
Blog Post:
Example: How to use PS_INTERNET_HEADERS with cdo 1.21 for custom properties.
Webdav101
'This example uses PS_INTERNET_HEADERS for setting a custom property const smbx="mymailbox" ' TODO: Change const ssrv="myserver" ' TODO: Change const mycdoInetPset = "8603020000000000C000000000000046" const myXheader = "X-SPAM" ' TODO: Change to your property set oses=createobject("mapi.session...
on
14 Jan 2009
Blog Post:
Sample: Howto display a list of calendar items in ListView using EWS
Webdav101
Here is a helpful sample of using EWS to get a list of calendar items and displaying them in a ListView. You should be able to use this with he sample I published prior on creating a CalendarView: Sample: Using Calendar Views with EWS. http://blogs.msdn.com/webdav_101/archive/2009/01/05...
on
9 Jan 2009
Blog Post:
Example: Returning a list of attachments using EWS
Webdav101
Here is a sample on getting and returning a list of attachments on an item using Exchange Web Services (EWS). // //----------------------------------------------------------------------------------------- // GetAttachmentsList. // Gets a list of file attachemnts on an item and puts them into...
on
5 Jan 2009
Blog Post:
Links on Common Exchange Web Services (EWS) Questions
Webdav101
I've put together a list of articles which cover common questions on Exchange Web Services (EWS). These links cover issues from starting out to common problems. I hope they help. Please let me know if there is anything important to add. Getting Started: Web Services http://msdn.microsoft...
on
2 Oct 2008
Blog Post:
Dynamic list of properties versus explicit properties
Webdav101
With messaging APIs, you can retrieve a list of properties dynamicly or by specific property name. For example with WebDAV, ALLPROPS will return a set of properties on a item. There are issues with trying to get a full list of properties. First of all, ALLPROPS does not equate to all properties. In fact...
on
21 Aug 2008
Blog Post:
Reading and changing OWA Settings
Webdav101
In OWA 2003, there were OWA settings mirrored in properties on the root folder of mailboxes which WebDAV could get to. There was limited support for accessing a few of these properties with WebDAV. The online docs still state that these properties are there, however this is not really true for OWA 2007...
on
14 Apr 2008
Page 1 of 1 (15 items)