Add-in Express Blog

Posts Tagged ‘MAPI’

HowTo: Get an attachment size in Outlook 2000 – 2007, part 2

November 6th, 2009
In the previous sample, I showed how to get the PR_ATTACH_SIZE Extended MAPI property that returns the size of an Attachment object. To be more precise, it returns the size of the attached file and the size of some internal info. In most cases that makeweight does not matter at all...Read the rest of this entry

HowTo: Get an attachment size in Outlook 2000 – 2007

October 23rd, 2009
The new Size property of the Attachment object was introduced in the Outlook 2007 Object Model. There exist at least two methods of getting the attachment size in older Outlook versions...Read the rest of this entry

HowTo: Avoid limitations of Microsoft Outlook ItemAdd event

May 15th, 2009
The description of the ItemAdd event is laconic and compact - "Occurs when one or more items are added to the specified collection. This event does not run when a large number of items are added to the folder at once." But what is really implied by the words "a large number of items"?...Read the rest of this entry

HowTo: Convert Exchange-based email address into SMTP email address

May 8th, 2009
It would be true to say "get" rather than "convert". There could be only one right way – to use Extended MAPI. Another method is described in the MSDN article: How to retrieve alternate e-mail addresses by using CDO, but we will not see into this approach, because CDO is optional in Outlook 2003 and is absent completely in Outlook 2007....Read the rest of this entry

Don’t stumble over a stone working with the PropertyAccessor and StorageItem classes in Outlook 2007

November 21st, 2008
There are plenty of articles in the web dwelling upon new possibilities of Outlook 2007 programming. Among the most frequently discussed issues is how to access and set various MAPI properties and how the PropertyAccessor can help with this. Let’s have a close look at the new classes which were introduced in Outlook 2007 and let’s [...]...Read the rest of this entry

Handling NewMail, NewMailEx and ItemAdd Outlook events in .NET

April 25th, 2008
Sometimes you need to process incoming e-mails and meeting requests in order to retrieve sender data for your CRM, to save attachments to your Document Management System (DMS), to process automated e-mails, or to convert selected incoming messages to plain text. Whenever you need to track incoming e-mails, you face the following Outlook events: NewMail, NewMailEx, and ItemAdd. ...Read the rest of this entry

How to get access to hidden Outlook items via Extended MAPI?

April 7th, 2008
Microsoft Outlook and Exchange are among the most popular applications utilizing MAPI. Add-in Express provides Outlook developers with a free component, MAPI Store Accessor, that hides MAPI complexities to provide developers with easy access to MAPI features....Read the rest of this entry
  • Sign In
  • SITEMAP