<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HowTo: Convert Exchange-based email address into SMTP email address</title>
	<atom:link href="http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/</link>
	<description>All about developing COM add-ins, smart tags and RTD servers in Visual Studio .NET, VSTO and Delphi + Add-in Express</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:13:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Tim Rasmussen</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-12567</link>
		<dc:creator>Tim Rasmussen</dc:creator>
		<pubDate>Mon, 30 Jan 2012 09:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-12567</guid>
		<description>Hi Dmitry,

Sorry, I forgot that the &quot;finally&quot; statements after the successful &quot;return&quot; statement do get executed.  At least one of our customers is now using our add-in with your sample code in and it works superbly!  Thank you.</description>
		<content:encoded><![CDATA[<p>Hi Dmitry,</p>
<p>Sorry, I forgot that the &#8220;finally&#8221; statements after the successful &#8220;return&#8221; statement do get executed.  At least one of our customers is now using our add-in with your sample code in and it works superbly!  Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Kostochko</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-12555</link>
		<dc:creator>Dmitry Kostochko</dc:creator>
		<pubDate>Fri, 27 Jan 2012 11:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-12555</guid>
		<description>Hi Tim,

I have just reviewed the code: the sessionPtr, sessionObj and addrBookPtr variables are released, addrBookObj is returned by the GetAddrBook method. Could you please point me to the objects and pointers you mean?</description>
		<content:encoded><![CDATA[<p>Hi Tim,</p>
<p>I have just reviewed the code: the sessionPtr, sessionObj and addrBookPtr variables are released, addrBookObj is returned by the GetAddrBook method. Could you please point me to the objects and pointers you mean?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Rasmussen</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-12554</link>
		<dc:creator>Tim Rasmussen</dc:creator>
		<pubDate>Fri, 27 Jan 2012 10:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-12554</guid>
		<description>This is extremely useful sample code.  But I worry that the GetAddrBook method, if successful, does not release some of the objects and pointers used to retrieve the Address Book.  Is this a problem?</description>
		<content:encoded><![CDATA[<p>This is extremely useful sample code.  But I worry that the GetAddrBook method, if successful, does not release some of the objects and pointers used to retrieve the Address Book.  Is this a problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Kostochko</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-12182</link>
		<dc:creator>Dmitry Kostochko</dc:creator>
		<pubDate>Thu, 24 Nov 2011 17:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-12182</guid>
		<description>Hi Glenn,

I have just finished testing the code against Outlook 2007 in Offline mode, neither way worked offline. Please see the details on our forum:
http://www.add-in-express.com/forum/read.php?FID=11&amp;TID=10180</description>
		<content:encoded><![CDATA[<p>Hi Glenn,</p>
<p>I have just finished testing the code against Outlook 2007 in Offline mode, neither way worked offline. Please see the details on our forum:<br />
<a href="http://www.add-in-express.com/forum/read.php?FID=11&#038;TID=10180" rel="nofollow">http://www.add-in-express.com/forum/read.php?FID=11&#038;TID=10180</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Kostochko</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-12176</link>
		<dc:creator>Dmitry Kostochko</dc:creator>
		<pubDate>Thu, 24 Nov 2011 12:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-12176</guid>
		<description>Hi Glenn,

The samples demonstrate two ways of retrieving SMTP-based email addresses. One of them does not use address book at all, it just gets the PR_SMTP_ADDRESS (aka PR_EMAIL) property from AddressEntry.

Please download the sources and pay attention to the CommandBarButtonPR_EmailAddress1_Click and CommandBarButtonPR_EmailAddress2_Click methods.</description>
		<content:encoded><![CDATA[<p>Hi Glenn,</p>
<p>The samples demonstrate two ways of retrieving SMTP-based email addresses. One of them does not use address book at all, it just gets the PR_SMTP_ADDRESS (aka PR_EMAIL) property from AddressEntry.</p>
<p>Please download the sources and pay attention to the CommandBarButtonPR_EmailAddress1_Click and CommandBarButtonPR_EmailAddress2_Click methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: glenn</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-12173</link>
		<dc:creator>glenn</dc:creator>
		<pubDate>Wed, 23 Nov 2011 20:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-12173</guid>
		<description>Was this code ever revised to support when the user is offline and does not have an offline address book or... read below

The problem with doing it this way (that I have found the hard way) is that if the user is offline and does not have an offline address book OR the Exchange address is an unpublished address/user then this will fail and cause Outlook to prompt the user with a “Check Names” dialog, asking the user to choose someone else, etc – rather than just resolve it using the PR_EMAIL field for the AddressEntry.</description>
		<content:encoded><![CDATA[<p>Was this code ever revised to support when the user is offline and does not have an offline address book or&#8230; read below</p>
<p>The problem with doing it this way (that I have found the hard way) is that if the user is offline and does not have an offline address book OR the Exchange address is an unpublished address/user then this will fail and cause Outlook to prompt the user with a “Check Names” dialog, asking the user to choose someone else, etc – rather than just resolve it using the PR_EMAIL field for the AddressEntry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Kostochko</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-11686</link>
		<dc:creator>Dmitry Kostochko</dc:creator>
		<pubDate>Mon, 12 Sep 2011 09:50:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-11686</guid>
		<description>Hi Pankaj,

I suppose the MAPIInitialize function (which is used in the GetAddrBook method) returns an error. You can find the full description of the function in the following MSDN article:
http://msdn.microsoft.com/en-us/library/ms527051(EXCHG.10).aspx

Do you use our code in an Outlook COM add-in or in a standalone application? Did you make any changes in our code?</description>
		<content:encoded><![CDATA[<p>Hi Pankaj,</p>
<p>I suppose the MAPIInitialize function (which is used in the GetAddrBook method) returns an error. You can find the full description of the function in the following MSDN article:<br />
<a href="http://msdn.microsoft.com/en-us/library/ms527051(EXCHG.10).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms527051(EXCHG.10).aspx</a></p>
<p>Do you use our code in an Outlook COM add-in or in a standalone application? Did you make any changes in our code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pankaj Anand</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-11684</link>
		<dc:creator>Pankaj Anand</dc:creator>
		<pubDate>Sat, 10 Sep 2011 17:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-11684</guid>
		<description>Hi Dimitry,

Thanks a lot. I have another small issue. I tried your code on Outlook 2007 and it says MAPI ca not be initialized when I try to use the GetAddrBook() function. Can you please tell me what could be wrong?

Pankaj</description>
		<content:encoded><![CDATA[<p>Hi Dimitry,</p>
<p>Thanks a lot. I have another small issue. I tried your code on Outlook 2007 and it says MAPI ca not be initialized when I try to use the GetAddrBook() function. Can you please tell me what could be wrong?</p>
<p>Pankaj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Kostochko</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-11677</link>
		<dc:creator>Dmitry Kostochko</dc:creator>
		<pubDate>Sun, 28 Aug 2011 12:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-11677</guid>
		<description>Hi Pankaj,

I think you can use the SenderEmailAddress and SenderEmailType properties:
http://msdn.microsoft.com/en-us/library/aa171942(v=office.11).aspx
http://msdn.microsoft.com/en-us/library/aa171944(v=office.11).aspx</description>
		<content:encoded><![CDATA[<p>Hi Pankaj,</p>
<p>I think you can use the SenderEmailAddress and SenderEmailType properties:<br />
<a href="http://msdn.microsoft.com/en-us/library/aa171942(v=office.11).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa171942(v=office.11).aspx</a><br />
<a href="http://msdn.microsoft.com/en-us/library/aa171944(v=office.11).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa171944(v=office.11).aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pankaj Anand</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2009/05/08/outlook-exchange-email-address-smtp/comment-page-1/#comment-11674</link>
		<dc:creator>Pankaj Anand</dc:creator>
		<pubDate>Fri, 26 Aug 2011 22:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=753#comment-11674</guid>
		<description>Small update to my problem
I have to support Outlook 2003 and above, so I cannot use Mailitem.Sender property which recently got added in 2010.</description>
		<content:encoded><![CDATA[<p>Small update to my problem<br />
I have to support Outlook 2003 and above, so I cannot use Mailitem.Sender property which recently got added in 2010.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

