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
Options
About
RSS for posts
Atom
RSS for comments
OK
Search
Tags
2007
attachments
C#
CDO
CDO 1.21
CDOEX
CDOSYS
DevMsgTeam
EWS
example
Exchange
exchange web services
HOWTO
item
mapi
meeting
message
mime
Outlook
OWA
sample
VB
vbscript
WebDAV
webdav101blog
Archive
Archives
October 2012
(1)
August 2012
(1)
July 2012
(1)
June 2012
(1)
February 2012
(3)
January 2012
(1)
December 2011
(1)
September 2011
(9)
June 2011
(1)
February 2011
(1)
January 2011
(2)
December 2010
(2)
June 2010
(2)
January 2010
(1)
December 2009
(3)
November 2009
(1)
October 2009
(1)
August 2009
(2)
June 2009
(1)
April 2009
(2)
February 2009
(2)
January 2009
(6)
December 2008
(3)
October 2008
(3)
September 2008
(14)
August 2008
(7)
July 2008
(9)
June 2008
(3)
May 2008
(8)
April 2008
(4)
March 2008
(29)
February 2008
(9)
January 2008
(5)
November 2007
(11)
May 2007
(7)
April 2007
(2)
July 2006
(1)
June 2006
(1)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Dan's WebDAV 101
How to get OOF text from Exchange 2003 using WebDAV
Posted
7 months ago
by
Webdav101
2
Comments
You may be able to get OOF text with WebDAV using a SEARCH. However, its not supported in any way and there is no guarentee that it will always work. The OOF text is stored inside of a hidden item in a mailbox. Below is a sample of the request which is...
Dan's WebDAV 101
OWA Single-sign-on support
Posted
9 months ago
by
Webdav101
1
Comments
OWA 2010 and prior is considered non-extensible as far as Microsoft is concerned in the area of doing single-sign-on programmatically. The exception to this would be when a person is in-network and uses their existing network credentials to access OWA...
Dan's WebDAV 101
OWA Web Part in an iFrame sample
Posted
10 months ago
by
Webdav101
0
Comments
I have not seen any examples of using OWA parts in an iFrame. However, I wrote such a sample recently and wanted to share it. The full OWA UI in an iFrame is not supported and its expected that doing so may fail at any given point and at different...
Dan's WebDAV 101
The importance of EWS Impersonation while using an application account.
Posted
10 months ago
by
Webdav101
0
Comments
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...
Dan's WebDAV 101
Inline attachments used with EWS and Text, HTML, MHTML or MIME
Posted
over 1 year ago
by
Webdav101
1
Comments
Exchange Web Services has three different ways to set message body content when working with messages – setting the Text body, setting the html body or creating the message using email MIME (note that there are different types of MIME). Images which...
Dan's WebDAV 101
How to check for calendar corruption.
Posted
over 1 year ago
by
Webdav101
0
Comments
A corrupt calendar item can reallly mess-up a custom application and even some very seasoned applications. If there is a corrupt item/items, then those should be cleared-up ASAP before trying to do some sort of code work-around. If you are suspecting...
Dan's WebDAV 101
EAS 177 response code or Why cant I sync any more devices.
Posted
over 1 year ago
by
Webdav101
0
Comments
Exchange allows you to sync a max of 10 devices agains a mailbox. Each time you sync a new device, a sync partnershipe is created. You can view thes sync pertnerships in OWA. Most users will never see this error code; however, IT professionals who test...
Dan's WebDAV 101
Taking Dumps with the ADPlus executable
Posted
over 1 year ago
by
Webdav101
1
Comments
ADPlus from the Debugging Tools can be used to get Crash Dumps and Hang Dumps which would contain the most-needed information for debugging. It used to be a vbscript file which was used to attach the cdb debugger (cdb is a command line debugger). Now...
Dan's WebDAV 101
EWS Autodiscovery Checker
Posted
over 2 years ago
by
Webdav101
0
Comments
I have written a sample which can be used by developers and Exchange Admins for handling issues with their custom code doing Autodiscovery. I have and several others have used this sample as a base-line for testing and for code harvesting for a while...
Dan's WebDAV 101
Microsoft Developer Support does not write or maintain customer production code.
Posted
over 2 years ago
by
Webdav101
0
Comments
Microsoft Developer Support does not write or maintain customer production code. If you want Microsoft to do the changes and implement production code, then MCS would be the more appropriate Microsoft organization. Also, you could engage a Microsoft Partner...
Dan's WebDAV 101
How to tell which authentication protocols can be used with WebDAV.
Posted
over 2 years ago
by
Webdav101
2
Comments
When you do an anonymous POST to the “exchange” virtual folder, you will get back a response which will tell you about which authentication protocols are supported. Each “WWW-Authenticate:” header in the response tells you which...
Dan's WebDAV 101
New to Exchange ActiveSync Development?
Posted
over 2 years ago
by
Webdav101
3
Comments
One area I do developer support for is EAS development with those who have an EAS client developmnet license and have a specific support agreement in thier Premier contract for EAS developer support - these are needed to get any EAS developer support...
Dan's WebDAV 101
Howto: Using EWS, get the original body type of a message without getting the best body of the message.
Posted
over 2 years ago
by
Webdav101
0
Comments
The PidTagNativeBody property (Property ID, 0x1016; Data Type 0x0003 (PtypInteger32)) should reflect the format of the body when a normal email message arrives in the inbox (not counting calendar messages such as meeting requests, etc.). If the message...
Dan's WebDAV 101
Howto: Set the organizer of a meeting on the calendar of an attendee using EWS.
Posted
over 2 years ago
by
Webdav101
1
Comments
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...
Dan's WebDAV 101
Use Exchange PowerShell to get statistical information for Exchange Server ActiveSync
Posted
over 2 years ago
by
Webdav101
0
Comments
Background: To get information on EAS activity on an Exchange server, you will need to call Exchange PowerShell cmdlets. PowerShell is used for doing administrative work against Exchange. Each administrative task is done through an Exchange cmllet...
Dan's WebDAV 101
Howto: Example to retrieve the body property of a message using the Exchange Managed API.
Posted
over 2 years ago
by
Webdav101
2
Comments
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...
Dan's WebDAV 101
Howto: Example to retrieve the html body property of a message using the Exchange Managed API.
Posted
over 2 years ago
by
Webdav101
0
Comments
public string GetMessageBodyAsHtml(Item oItem) { string sRet = string.Empty; PropertySet oPropSet = new PropertySet(PropertySet.FirstClassProperties); oItem.Load(PropertySet.FirstClassProperties); PropertySet oPropSetForBodyText ...
Dan's WebDAV 101
Howto: Example to retrieve the body property of a message using the Exchange Managed API.
Posted
over 2 years ago
by
Webdav101
0
Comments
public string GetMessageBody(Item oItem, BodyType oBodyType) { string sRet = string.Empty; PropertySet oPropSet = new PropertySet(PropertySet.FirstClassProperties); oItem.Load(PropertySet.FirstClassProperties); PropertySet oPropSetForBodyText...
Dan's WebDAV 101
WebStoreExplore 1.8.3 is now public
Posted
over 2 years ago
by
Webdav101
1
Comments
In the past, the team I belong to has made vailable "super samples" which provide a broad range of coverage-by-example around specific messaging APIs - these are often referred to as API Explorers. Two examples of these are MFCMAPI (for Extended MAPI...
Dan's WebDAV 101
Consider the full impact of Exchange Set-MailboxCalendarSettings and Set-CalendarProcessing before changing settings
Posted
over 2 years ago
by
Webdav101
0
Comments
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...
Dan's WebDAV 101
Howto: Read OOF info using EWS and VBScript against an Exchange 2010 SP1
Posted
over 2 years ago
by
Webdav101
0
Comments
' 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...
Dan's WebDAV 101
Howto: Determine which Process Is It Running Under (Exchange and Outlook Development/Admin related)
Posted
over 2 years ago
by
Webdav101
0
Comments
Understanding which process to use for tracing or taking a dump can be difficult if you are not familiar with where to look. This sections covers the where to look part. Desktop Application: Desktop applications will appear in their own process...
Dan's WebDAV 101
How to get the original body type of a message without getting the best body of the message using EWS.
Posted
over 3 years ago
by
Webdav101
0
Comments
The PidTagNativeBody property (Property ID, 0x1016; Data Type 0x0003 (PtypInteger32)) should reflect the format of the body when a normal email message arrives in the inbox (not counting calendar messages such as meeting requests, etc.). If the message...
Dan's WebDAV 101
GetUserAvailability errors with non-DST timezones using the Exchange Managed API 1.0.
Posted
over 3 years ago
by
Webdav101
4
Comments
If you see "The Month parameter must be in the range 1 through 12." thrown using the 1.0 version of the Exchange Managed API when dealing with non-DST timezones, then you should look at upgrading to the 1.1 version of the Exchange Managed API - the issue...
Dan's WebDAV 101
Detecting Heap Corruption Using GFlags and Dumps
Posted
over 3 years ago
by
Webdav101
0
Comments
Heap corruption is very bad since it means that memory in the process is smashed (overwritten). This typically occurs when an application allocates a block of heap memory of a given size and then writes to memory addresses beyond the requested size of...
Page 1 of 7 (160 items)
1
2
3
4
5
»