<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>FYI: Why are MAPI and CDO 1.21 not supported in managed (.NET) code?</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx</link><description>The issue of using MAPI or (most commonly) CDO 1.21 in managed (.NET) code is one that comes back to us a lot on the Messaging Developer Support team. Both the messaging technologies in question and the .NET framework have been around for many years at</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>MAPI and .Net</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#9530726</link><pubDate>Fri, 03 Apr 2009 18:27:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9530726</guid><dc:creator>SGriffin's MAPI Internals</dc:creator><description>&lt;p&gt;Working with a customer the other day, I went looking for my blog post discussing the fact that MAPI&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9530726" width="1" height="1"&gt;</description></item><item><title>Unsupported Messaging API’s in Managed code – Outlook Add-ins</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#9432996</link><pubDate>Thu, 19 Feb 2009 04:36:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9432996</guid><dc:creator>Le Café Central de DeVa</dc:creator><description>&lt;p&gt;Certain technologies that predate the .NET Framework are not supported in managed code programming. These&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9432996" width="1" height="1"&gt;</description></item><item><title>re: FYI: Why are MAPI and CDO 1.21 not supported in managed (.NET) code?</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#6619560</link><pubDate>Fri, 30 Nov 2007 23:27:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6619560</guid><dc:creator>Petri</dc:creator><description>&lt;p&gt;I thought WebDAV is available only on local server, so remotely it is not available. Maybe I was wrong.&lt;/p&gt;
&lt;p&gt;And yes, I saw the E2007 SP1 web services, and what that offer :-)&lt;/p&gt;
&lt;p&gt;And yes, &amp;nbsp;I meant folder's ACLs in Mailbox.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6619560" width="1" height="1"&gt;</description></item><item><title>re: FYI: Why are MAPI and CDO 1.21 not supported in managed (.NET) code?</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#6615286</link><pubDate>Fri, 30 Nov 2007 15:34:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6615286</guid><dc:creator>Matt Stehle - MSFT</dc:creator><description>&lt;p&gt;I just realized that above you mentioned mailbox permissions not folder permissions. &amp;nbsp;If you are setting permissions at the mailbox level in Exchange 2000/2003 then you can use CDOEXM or modify the AD objects using ADSI, etc.&lt;/p&gt;
&lt;p&gt;In Exchange 2007 you can use the Add-ADPermission and Add-MailboxPermission cmdlets.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6615286" width="1" height="1"&gt;</description></item><item><title>re: FYI: Why are MAPI and CDO 1.21 not supported in managed (.NET) code?</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#6615115</link><pubDate>Fri, 30 Nov 2007 15:25:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6615115</guid><dc:creator>Matt Stehle - MSFT</dc:creator><description>&lt;p&gt;You can edit the ACLs of folders using WebDAV in Exchange 2000/2003 - fully supported from .NET...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/aa123902.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa123902.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can use Exchange Web Services in Exchange 2007 SP1...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/bb856574.aspx"&gt;http://msdn2.microsoft.com/en-us/library/bb856574.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6615115" width="1" height="1"&gt;</description></item><item><title>re: FYI: Why are MAPI and CDO 1.21 not supported in managed (.NET) code?</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#6609163</link><pubDate>Fri, 30 Nov 2007 09:53:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6609163</guid><dc:creator>Petri X</dc:creator><description>&lt;p&gt;Oh ! Wonderful but too painful article ! Even it might be truth.&lt;/p&gt;
&lt;p&gt;Some of us knows how limited Exchange is for the mailbox permissions, so I'm looking for the solution like this (including change the ACLs on the folders):&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/240911"&gt;http://support.microsoft.com/kb/240911&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But on this blog you say that, nobody should follow above article anymore, unless use C++/VB6.&lt;/p&gt;
&lt;p&gt;Could you point me out which of these:&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/813349"&gt;http://support.microsoft.com/kb/813349&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;support ACL modifications on the mailbox level ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6609163" width="1" height="1"&gt;</description></item><item><title>re: FYI: Why are MAPI and CDO 1.21 not supported in managed (.NET) code?</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#6603738</link><pubDate>Fri, 30 Nov 2007 01:17:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6603738</guid><dc:creator>Matt Stehle - MSFT</dc:creator><description>&lt;p&gt;If you are running a desktop application then you can use OOM rather than CDO 1.21 to get to the GAL. &amp;nbsp;In Outlook 2003 OOM doesn't have the PropertyAccessor which gives you greater access to properties on an item so many developers want to use CDO 1.21. &amp;nbsp;This isn't an impossibility you just need to do it out of process from your managed code...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/mstehle/archive/2007/07/27/howto-delete-search-folders-and-interop-with-cdo-1-21-from-managed-net-code.aspx"&gt;http://blogs.msdn.com/mstehle/archive/2007/07/27/howto-delete-search-folders-and-interop-with-cdo-1-21-from-managed-net-code.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6603738" width="1" height="1"&gt;</description></item><item><title>re: FYI: Why are MAPI and CDO 1.21 not supported in managed (.NET) code?</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#6603488</link><pubDate>Fri, 30 Nov 2007 01:04:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6603488</guid><dc:creator>joycek</dc:creator><description>&lt;p&gt;So if you need a replacement for CDO 1.21 from a client APP that is not a web app to an Exchange server that could be 200/3/7 or unknown What Then?&lt;/p&gt;
&lt;p&gt;You can't access the address book or the GAL from a desktop app with webDav - no? (in OL2003) OL2007 has some CDO function built in but not OL2003...&lt;/p&gt;
&lt;p&gt;If CDO 1.21 is available but not .NET supported that means it is implicit that apps must be dev in unmanaged languages like C++ ? &lt;/p&gt;
&lt;p&gt;Sending mail is not really the problem it's accessing other object on Exchange servers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6603488" width="1" height="1"&gt;</description></item><item><title>re: FYI: Why are MAPI and CDO 1.21 not supported in managed (.NET) code?</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#6491278</link><pubDate>Sat, 24 Nov 2007 00:51:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6491278</guid><dc:creator>Matt Stehle - MSFT</dc:creator><description>&lt;p&gt;This doesn't change anything about Outlook Object Model - as I said above it is fully supported in managed code.&lt;/p&gt;
&lt;p&gt;I'm not sure where VSTO fits into this discussion because it is just an AddIn model for Outlook. &amp;nbsp;If you can expand on that question, I&amp;quot;ll take a crack at it...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6491278" width="1" height="1"&gt;</description></item><item><title>re: FYI: Why are MAPI and CDO 1.21 not supported in managed (.NET) code?</title><link>http://blogs.msdn.com/b/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx#6471324</link><pubDate>Thu, 22 Nov 2007 17:29:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6471324</guid><dc:creator>Brian</dc:creator><description>&lt;p&gt;So where does this leave Visual Studio Tools for Office? Particularly the ability to write managed code against the Outlook object model? Presumably the VSTO libraries are COM based under the wrappers, but they will still run in-process?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6471324" width="1" height="1"&gt;</description></item></channel></rss>