<?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>MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx</link><description>Most of you have realized by now that Exchange 2007 doesn't include MAPI "in the box". We're supporting two ways to put MAPI on an Exchange 2007 server: 
 
 The MAPI Download 
 Outlook 2007 
 
 Some of you have noticed as well that with Exchange</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#10289188</link><pubDate>Thu, 29 Mar 2012 23:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10289188</guid><dc:creator>hauld</dc:creator><description>&lt;p&gt;i&amp;#39;m getting *MAPI_E_UNCONFIGURED == 0x8004011C* when attempting to connect to an exchange 2010. this worked in the past. also found another server this fails on.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10289188" width="1" height="1"&gt;</description></item><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#10071384</link><pubDate>Mon, 04 Oct 2010 21:15:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10071384</guid><dc:creator>Stephen Griffin - MSFT</dc:creator><description>&lt;p&gt;It is untrue. You have to put MAPI on machines where MAPI clients run. Exchange is always a MAPI server and does not need the MAPI client bits to operate as a MAPI server. Now - if you plan on running a MAPI client on the Exchange server, you&amp;#39;d need to install MAPI for that client&amp;#39;s sake, but not for the server&amp;#39;s sake.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10071384" width="1" height="1"&gt;</description></item><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#10071363</link><pubDate>Mon, 04 Oct 2010 20:19:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10071363</guid><dc:creator>Brendon</dc:creator><description>&lt;p&gt;Hi Steve, &amp;nbsp;Your post says to me that you &amp;quot;can&amp;quot; put MAPI on the Exchange 2007 server. &amp;nbsp;Is it also true that you &amp;quot;have&amp;quot; to put MAPI on the Exchange 2007 server so that clients such as the Blckkberry BES server can successfully access the Exchange?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10071363" width="1" height="1"&gt;</description></item><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#9924089</link><pubDate>Wed, 18 Nov 2009 05:59:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9924089</guid><dc:creator>venkat</dc:creator><description>&lt;p&gt;How does one set the PKI certificate info, in case the email is S/MIME encoded? Is PR_CONNECT_FLAG control this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9924089" width="1" height="1"&gt;</description></item><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#9906039</link><pubDate>Mon, 12 Oct 2009 08:35:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9906039</guid><dc:creator>tdl</dc:creator><description>&lt;p&gt;I couldn't find directly related topic, so i'm asking under this topic (cause it may be an Exchange 2007 issue);&lt;/p&gt;
&lt;p&gt;I set a latest delivery time for a message to get a non delivery report after a given time via PR_LATEST_DELIVERY_TIME (10 minutes i.e.). However, NDR arrives after the time which the &amp;quot;maximum expiry time&amp;quot; settings of MS Exchange 2007 indicates (1 day by default) even though i set PR_LATEST_DELIVERY_TIME. Isn't &amp;nbsp;it possible to set the latest delivery time using MAPI on Exchange 2007? I used to use this property on Exchange 2003.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9906039" width="1" height="1"&gt;</description></item><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#9847550</link><pubDate>Fri, 24 Jul 2009 15:55:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9847550</guid><dc:creator>Stephen Griffin - MSFT</dc:creator><description>&lt;p&gt;You should confirm gcreconnect works - there may be a problem with your environment.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9847550" width="1" height="1"&gt;</description></item><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#9847328</link><pubDate>Fri, 24 Jul 2009 10:33:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9847328</guid><dc:creator>Cash</dc:creator><description>&lt;p&gt;Using GcReconnect code, I've written the code below. Although it seems to change the flag to 0x8002, OpenMsgStore still fails with MAPI_E_FAILONEPROVIDER.&lt;/p&gt;
&lt;p&gt;MAPIAdminProfiles(0, &amp;amp;lpProfAdmin);&lt;/p&gt;
&lt;p&gt;lpProfAdmin-&amp;gt;AdminServices((LPTSTR)Profile,&lt;/p&gt;
&lt;p&gt;			NULL,&lt;/p&gt;
&lt;p&gt;			NULL,&lt;/p&gt;
&lt;p&gt;			0,&lt;/p&gt;
&lt;p&gt;			&amp;amp;lpSvcAdmin);&lt;/p&gt;
&lt;p&gt;SvcAdminOpenProfileSection(lpSvcAdmin,(LPMAPIUID)&amp;amp;pbGlobalProfileSectionGuid, NULL, MAPI_MODIFY, &amp;amp;lpGlobalProfSect);&lt;/p&gt;
&lt;p&gt;SizedSPropTagArray(1,sptTags) = {1, PR_PROFILE_CONNECT_FLAGS};&lt;/p&gt;
&lt;p&gt;hRes = lpGlobalProfSect-&amp;gt;GetProps((LPSPropTagArray) &amp;amp;sptTags, 0, &amp;amp;ulValues, &amp;amp;pPropArray);&lt;/p&gt;
&lt;p&gt;if (SUCCEEDED(hRes) &amp;amp;&amp;amp; (MAPI_W_ERRORS_RETURNED != hRes))&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; pPropArray[0].Value.ul |= &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; CONNECT_IGNORE_NO_PF;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; hRes = lpGlobalProfSect-&amp;gt;SetProps(1, &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; pPropArray, NULL);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;else&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;if (FAILED(hr = lpGlobalProfSect-&amp;gt;SaveChanges(FORCE_SAVE)))&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;And then...&lt;/p&gt;
&lt;p&gt;MAPILogonEx(0,cProfile,&amp;quot;&amp;quot;,ulFlags,&amp;amp;lpSession);&lt;/p&gt;
&lt;p&gt;HrMAPIFindDefaultMsgStore(lpSession, &amp;amp;cbDefStoreEid, &amp;amp;pDefStoreEid); &lt;/p&gt;
&lt;p&gt;lpSession-&amp;gt;OpenMsgStore(0, cbDefStoreEid, pDefStoreEid, NULL, MAPI_BEST_ACCESS,&amp;amp;lpMDB); &lt;/p&gt;
&lt;p&gt;What may be wrong? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9847328" width="1" height="1"&gt;</description></item><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#9846144</link><pubDate>Thu, 23 Jul 2009 14:45:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9846144</guid><dc:creator>Stephen Griffin - MSFT</dc:creator><description>&lt;p&gt;Cash - you shouldn't be logging on to the profile first. All the modifications should happen before you log on. Take a look at the source for gcreconnect if you want to see code that sets this flag.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9846144" width="1" height="1"&gt;</description></item><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#9845996</link><pubDate>Thu, 23 Jul 2009 12:12:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9845996</guid><dc:creator>cash</dc:creator><description>&lt;p&gt;I'm using the recent MAPI CDO library (6.5.8069.0) for connecting to an Exchange Server 2007 without a public folder. &lt;/p&gt;
&lt;p&gt;If I edit the PR_PROFILE_CONNECT_FLAGS using MFC MAPI program, both the MFC MAPI and my program can connect via this profile, it works. But when i change the flag programmatically, i get MAPI_E_FAILONEPROVIDER from OpenMsgStore. &lt;/p&gt;
&lt;p&gt;The windows account and the mail account are the same (administrator)..&lt;/p&gt;
&lt;p&gt; &amp;nbsp;I call MapiLogonEx, change the flags and then try to open the message store. Is it about the order of methods? When exactly i should change the flag?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9845996" width="1" height="1"&gt;</description></item><item><title>re: MAPI and Exchange 2007</title><link>http://blogs.msdn.com/b/stephen_griffin/archive/2007/03/19/mapi-and-exchange-2007.aspx#9184763</link><pubDate>Mon, 08 Dec 2008 17:42:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9184763</guid><dc:creator>Stephen Griffin - MSFT</dc:creator><description>&lt;p&gt;It is possible, but you'll need to read through the Exchange protocol documentation to figure out what you need to do. Start by looking at the MSDN article on creating task items: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/cc963264.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc963264.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=9184763" width="1" height="1"&gt;</description></item></channel></rss>