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
impersonation
item
List
mailbox
mapi
meeting
meeting request
message
message body
messaging
mime
MOVE
oof
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
>
message
Tagged Content List
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:
Why can't WebDAV read BCC?
Webdav101
Using WebDAV to read BCC information on messages (even in the Drafts folder) will not work. The “urn:schemas:mailheader:bcc” will not return the BCC information using WebDAV - this is expected behavior. If you do a GET against the message to get the MIME, then you will also not get the BCC - this also...
on
24 Apr 2008
Blog Post:
Howto Add an Attachment with Webdav
Webdav101
There is no mechanism to add an attachment in WebDAV. You will need to create/recreate the item using a WebDAV PUT. The text you would be putting would be the mime of the item, which also contains the attachment. It’s useful here to use CDOSYS to create a message and add an attachment – then extract...
on
12 Mar 2008
Blog Post:
HOWTO: Send Email With Attachment Using VB and WebDAV
Webdav101
To send an email with WebDAV, you will you will need to create/recreate the item with a WEBDAV PUT using the MIME of the message. It gets tricky when working with attachments. To get around the complexity of sending an email with an attachment, you may want to look at using CDOSYS to build the message...
on
12 Mar 2008
Blog Post:
Howto: WebDAV SEARCH using C#
Webdav101
' This example shows how to do a SEARCH using C# // C# Example to SEARCH a mailbox. // TODO: // Add a button and double click on it // Add a multi-line text box and make it big. // Add a project reference to System.Xml, an System.Net // Paste-in the code below // Do the TODO sections in the code....
on
12 Mar 2008
Blog Post:
Howto: WebDAV PROPFIND using VB.NET
Webdav101
' This example shows how to do a PROPFIND using VB.NET ‘ VB.NET PROPFIND ‘ TODO: Create a VB.NET winform with a button and a big multiline text box ‘ TODO: Add references to System.Web, System.XML and System.IO ‘ TODO: Add the code to the form. ‘ TODO: Do the TODO sections in the code. Imports...
on
12 Mar 2008
Blog Post:
Howto: WebDAV X-MS-ENUMATTS using VBScript to enumerate attachments
Webdav101
' This example shows how to enumerate attachments on a message. X-MS-ENUMATTS will ' return phantom urls to attachments on the message. These URLs can be used with GET ' and DELETE (starting with Exchange 2003 SP1). ' For listing and reading an attachment, you will first need to get a list of attachments...
on
12 Mar 2008
Blog Post:
Howto: WebDAV COPY using VBScript
Webdav101
' This example shows how to do a COPY of a message to a folder. 'NOTE: ' • Copying or Moving items across stores is not supported (that includes maiboxes) ' • You will get a 404 (Resource Not Found) if the source item does not exist. ' • A status of 204 (No Content) will be returned if the destination...
on
12 Mar 2008
Blog Post:
Howto: WebDAV MOVE using VBScript
Webdav101
' This example shows how to do a MOVE of a message to a folder. 'NOTE: ' • Copying or Moving items across stores is not supported (that includes maiboxes) ' • You will get a 404 (Resource Not Found) if the source item does not exist. ' • A status of 204 (No Content) will be returned if the destination...
on
12 Mar 2008
Blog Post:
HOWTO: VB/OOM - Display a message using Store ID and item ID
Webdav101
How to display a message in an outlook window using the store id and item id using OOM. CDO 1.21 cannot just display a message without having it being in a state of forward, reply, etc - so OOM is a better solution. 'TODO - set a reference to the outlook object model ' Call DisplayMessage, passing...
on
29 Nov 2007
Page 1 of 1 (12 items)