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
custom mail headers
exchange managed API
exchange web services
Forms based authentication
Browse by Tags
Dan's WebDAV 101
Tagged Content List
FYI: The latest version of the Exchange MAPI download was released yesterday.
The latest version of the Exchange MAPI download was released yesterday. Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1 http://www.microsoft.com/downloads/details.aspx?familyid=e17e7f31-079a-43a9-bff2-0a110307611e&displaylang=en
10 Dec 2009
Howto: Accept meeting requests with VB6 and CDO 1.21
Here is a sample to accept all meeting requests using CDO 1.21. ' The code below will accept all meeting requests in the users inbox. Private Sub cmdAcceptRecurringMeeting_Click() Dim objSession As mapi.Session Dim ObjMessage As mapi.Message Dim oMessages As mapi.Messages Dim oAppointment As mapi...
21 Oct 2008
My .EDB file grows when I search.
When doing a WebDAV or any other search, you will likely see the .EDB file expands. When performing a search against a mailbox using WebDAV or any other API, you may see the .EDB file grow in size. Don't panic, this is normal. When a search is performed, Exchange will put the results into a search...
18 Jul 2008
HOWTO: VB/CDO 1.21 - Cancel a Recurring Meeting using a single Recurrance
' This code finds an meeting occurance and uses it to cancel the entire meeting series and ' have "Cancelled:" in front of the subject lines on the update messages sent to the recipient(s). ' To use: ' Create a recurring meeting inside the date/time range below with the subject "testabc". ' Invite an...
5 May 2008
CDO 1.21 and Unicode Text (Japanese, Chinese, Korean, etc)
CDO 1.21 and Unicode Text (Japanese, Chinese, Korean, etc) Having issues using CDO 1.21 with multi-byte (unicode) languages such as Japanese, Korean, Chinese? Do you want a way to create an appointment item with Japanese text using CDO 1.21? This is not as straight-forward as it should be, here...
14 Feb 2008
Setting MeetingStatus to CdoNonMeeting using CDO will cause the AllDay flag to not be set on an occurance in Outlook.
If you use CDO 1.21 to set the MeetingStatus to CdoNonMeeting for a single occurance of an all day recurring appointment, you will find that the AllDay flag is not set when the appointment is converted to a meeting and accepted by the attendee. Private Sub cmdMakeInstanceAllDay_Click() Dim objSession...
1 Feb 2008
Setting timezone options with CDO 1.21.
CDO 1.21 Timezone information is stored in a a property inside of the user's mailbox and is CDO 1.21 specific. It is set any time a CDO 1.21 session sets the time zone and persists for that user until changed. This means it will be used by any subsequent CDO 1.21 session. OWA 5.5 will affect the timezone...
31 Jan 2008
HOWTO: CDO 1.21/VBS - Get Free/Busy information
'----------------------------------------------------------- ' getfbCDO121.vbs - Get Free/Busy information using CDO1.21 and vbs ' Instructions: ' Save to a file called getfbCDO121.vbs ' Do the TODO: sections ' Run from the command line using: cscript getfbCDO121.vbs '-------------------------------...
29 Nov 2007
HOWTO: CDO 1.21/VB Expand a Distribution List
'HOWTO: CDO 1.21/VB Expand a Distribution List ' TODO: Create a new VB Project ' TODO: Set a reference to CDO 1.21 ' TODO: Add a button to the form and paste this code in. ' TODO: Change TODO: sections below. Private Sub Command1_Click() Dim objSession As MAPI.Session Dim ObjMessage As MAPI...
29 Nov 2007
HOWTO: VB/CDO 1.21 - Delete inbox message attachments over certain size
Here is an example: 'How to read the Inbox messages and delete attachments over a given size using VB and CDO 1.21 ' This example deletes all jpg file attachments over a certain size in an inbox. Const CONST_MAX_JPG_ATTACHMENT = 3000 ' TODO: Change this - max jpg file size Dim sErrorMessage As String...
29 Nov 2007
HOWTO: Use PS_INTERNET_HEADERS with cdo 1.21 for custom properties
How to use PS_INTERNET_HEADERS with CDO 1.21 for custom properties. '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...
29 Nov 2007
How to use PS_INTERNET_HEADERS with cdo 1.21 for custom properties.
'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...
4 May 2007
HOWTO: VB6/CDO 1.21 - expand a distribution list
Below is a sample: ' TODO: Create a new VB Project ' TODO: Set a reference to CDO 1.21 ' TODO: Add a button to the form and paste this code in. ' TODO: Change TODO: sections below. Private Sub Command1_Click() Dim objSession As MAPI.Session Dim ObjMessage As MAPI.Message Dim objUseRecips...
4 May 2007
How to add a holiday to a calendar using VB and CDO 1.21.
' How to add a holiday to a calendar using VB and CDO 1.21. ' ' This example code shows how to add a holiday to a calendar using VB and CDO 1.21. ' Set a reference to CDO 1.21 and do the TODO sections in the code. ' Holidays are All Day Appointments with the Category of "Holiday" set. ' ' CDO 1.21 can...
12 Apr 2007
Tools for Diagnosing Problems with Messaging Software
There are many tools which are useful for diagnosing problems with Messaging APIs. Attached, you will find a document which outlines several tools which you may find useful. Please note that this there is no endorsement or peference over any one tool over another. This posting is provided "AS IS...
30 Jun 2006
Page 1 of 1 (15 items)
© 2013 Microsoft Corporation.
Privacy & Cookies