PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Program Addins
How to capture email receiving event in MS Outlook 200X (office product) and MS Outlook Express using C#.net?
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Program Addins
How to capture email receiving event in MS Outlook 200X (office product) and MS Outlook Express using C#.net?
![]() |
How to capture email receiving event in MS Outlook 200X (office product) and MS Outlook Express using C#.net? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
I am new to outlook add-in programming. My first question is, how to capture email receiving event in MS Outlook 200X (office product) and MS Outlook Express using C#.net? My second question is, there is any technical programming (for add-in) difference in MS Outlook 200X (office product) and MS Outlook Express i.e. I need to write add-in (capture email receiving event) separately? Azhar H. Synametrics Tech. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
In Outlook you can use either Application.NewMail event or
MAPIFolder.Items.ItemAdd event (where MAPIFolder points to Inbox). You cannot write addins for OE - the only API exposed by OE is Simple MAPI. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "S. A. Hussain" <vetolimits@yahoo.com> wrote in message news:1bae6215.0312080445.404774dd@posting.google.com... > Hi, > > I am new to outlook add-in programming. > > My first question is, how to capture email receiving event in MS > Outlook 200X (office product) and MS Outlook Express using C#.net? > > My second question is, there is any technical programming (for add-in) > difference in MS Outlook 200X (office product) and MS Outlook Express > i.e. I need to write add-in (capture email receiving event) > separately? > > Azhar H. > Synametrics Tech. |
|
|
|
#3 |
|
Guest
Posts: n/a
|
"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message news:<uzf1fSivDHA.3144@tk2msftngp13.phx.gbl>...
> In Outlook you can use either Application.NewMail event or > MAPIFolder.Items.ItemAdd event (where MAPIFolder points to Inbox). > You cannot write addins for OE - the only API exposed by OE is Simple MAPI. Can I use MAPI for both Office Outlook and Outlook Express? One code applies on both? Any learning material for developing & deploying MAPI Outlook add-in? What is the best MAPI or COM-Addin? Azhar H. > Dmitry Streblechenko (MVP) > http://www.dimastr.com/ > OutlookSpy - Outlook, CDO > and MAPI Developer Tool > > > "S. A. Hussain" <vetolimits@yahoo.com> wrote in message > news:1bae6215.0312080445.404774dd@posting.google.com... > > Hi, > > > > I am new to outlook add-in programming. > > > > My first question is, how to capture email receiving event in MS > > Outlook 200X (office product) and MS Outlook Express using C#.net? > > > > My second question is, there is any technical programming (for add-in) > > difference in MS Outlook 200X (office product) and MS Outlook Express > > i.e. I need to write add-in (capture email receiving event) > > separately? > > > > Azhar H. > > Synametrics Tech. |
|
|
|
#4 |
|
Guest
Posts: n/a
|
The only common API between Outlook and OE is Simple MAPI - it is a set of
12 functions that will allow you to read messages in the Inbox (but not any other folder), display the address book etc. As the name suggests, it is simple. Extended MAPI on the other hand is the native Outlook API, whatever Outlook does, chances are you will be able to do that as well as long as it does not involve the Outlook UI. The downside is it can only be used from C++/Delphi, not from VB. Plus the learning curve is very steep. Start with http://www.slipstick.com to see what is available. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "S. A. Hussain" <vetolimits@yahoo.com> wrote in message news:1bae6215.0312111808.5ea6c664@posting.google.com... > "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message news:<uzf1fSivDHA.3144@tk2msftngp13.phx.gbl>... > > In Outlook you can use either Application.NewMail event or > > MAPIFolder.Items.ItemAdd event (where MAPIFolder points to Inbox). > > You cannot write addins for OE - the only API exposed by OE is Simple MAPI. > > Can I use MAPI for both Office Outlook and Outlook Express? One code > applies on both? > > Any learning material for developing & deploying MAPI Outlook add-in? > > What is the best MAPI or COM-Addin? > > > Azhar H. > > > > Dmitry Streblechenko (MVP) > > http://www.dimastr.com/ > > OutlookSpy - Outlook, CDO > > and MAPI Developer Tool > > > > > > "S. A. Hussain" <vetolimits@yahoo.com> wrote in message > > news:1bae6215.0312080445.404774dd@posting.google.com... > > > Hi, > > > > > > I am new to outlook add-in programming. > > > > > > My first question is, how to capture email receiving event in MS > > > Outlook 200X (office product) and MS Outlook Express using C#.net? > > > > > > My second question is, there is any technical programming (for add-in) > > > difference in MS Outlook 200X (office product) and MS Outlook Express > > > i.e. I need to write add-in (capture email receiving event) > > > separately? > > > > > > Azhar H. > > > Synametrics Tech. |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Thank Dmitry Streblechenko for your informative feedback. Please, tell
me I am correct or wrong: "I need to capture email receiving event, parse this email and do appropriate modification. No GUI elements needed (only message box in particular case). Using C++ and MAPI, I will create an add-in; it works with Outlook Express (versions 5 and 6) and MS Outlook (version 2000, 2002, and 2003)" Correct or wrong? Azhar H. "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message news:<efDLqsHwDHA.1424@tk2msftngp13.phx.gbl>... > The only common API between Outlook and OE is Simple MAPI - it is a set of > 12 functions that will allow you to read messages in the Inbox (but not any > other folder), display the address book etc. As the name suggests, it is > simple. > Extended MAPI on the other hand is the native Outlook API, whatever Outlook > does, chances are you will be able to do that as well as long as it does not > involve the Outlook UI. The downside is it can only be used from C++/Delphi, > not from VB. Plus the learning curve is very steep. > Start with http://www.slipstick.com to see what is available. > > Dmitry Streblechenko (MVP) > http://www.dimastr.com/ > OutlookSpy - Outlook, CDO > and MAPI Developer Tool > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
No, OE does not have addins. Again, you can pretty much only read the Inbox,
display the address book or send messages using Simple MAPI. In case of Outlook 97/98/2000/2002/2003 you can create an Exchange Client Extension (Extended MAPI only, C++/Delphi). In Outlook 2000/2002/2003, you can create a COM addin (just about any language, VB. C++, Delphi, etc) and track either Application.NewMail event or MAPIFolder.Items.ItemAdd event (where MAPIFolder points to the Inbox). In case of Outlook 2003, you can also use Application.NewMailEx event (passes the entry ids of new messages to the event handler). Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "S. A. Hussain" <vetolimits@yahoo.com> wrote in message news:1bae6215.0312141847.47dffd98@posting.google.com... > Thank Dmitry Streblechenko for your informative feedback. Please, tell > me I am correct or wrong: > > "I need to capture email receiving event, parse this email and do > appropriate modification. No GUI elements needed (only message box in > particular case). Using C++ and MAPI, I will create an add-in; it > works with Outlook Express (versions 5 and 6) and MS Outlook (version > 2000, 2002, and 2003)" > > Correct or wrong? > > Azhar H. > > "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message news:<efDLqsHwDHA.1424@tk2msftngp13.phx.gbl>... > > The only common API between Outlook and OE is Simple MAPI - it is a set of > > 12 functions that will allow you to read messages in the Inbox (but not any > > other folder), display the address book etc. As the name suggests, it is > > simple. > > Extended MAPI on the other hand is the native Outlook API, whatever Outlook > > does, chances are you will be able to do that as well as long as it does not > > involve the Outlook UI. The downside is it can only be used from C++/Delphi, > > not from VB. Plus the learning curve is very steep. > > Start with http://www.slipstick.com to see what is available. > > > > Dmitry Streblechenko (MVP) > > http://www.dimastr.com/ > > OutlookSpy - Outlook, CDO > > and MAPI Developer Tool > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

