PC Review


Reply
Thread Tools Rate Thread

How to capture email receiving event in MS Outlook 200X (office product) and MS Outlook Express using C#.net?

 
 
S. A. Hussain
Guest
Posts: n/a
 
      8th Dec 2003
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.
 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      9th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.



 
Reply With Quote
 
S. A. Hussain
Guest
Posts: n/a
 
      12th Dec 2003
"Dmitry Streblechenko" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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.

 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      12th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message

news:<(E-Mail Removed)>...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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.



 
Reply With Quote
 
S. A. Hussain
Guest
Posts: n/a
 
      15th Dec 2003
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" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> 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
>
>

 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      15th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message

news:<(E-Mail Removed)>...
> > 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
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Express Email Receiving Problem K-Bob Windows XP Internet Explorer 11 2nd Mar 2008 08:17 AM
Outlook Express email receiving issues =?Utf-8?B?UGV0ZXIgVm91c2Rlbg==?= Microsoft Outlook Discussion 3 19th Jul 2006 04:12 PM
Outlook and Outlook Express both receiving email Chris K Microsoft Outlook 2 29th Mar 2004 08:56 PM
Receiving Office document in Outlook Express George Microsoft Outlook 0 26th Jan 2004 02:32 PM
Outlook Express 6-receiving email with an .html attachment duplicating same text from body of email =?Utf-8?B?TGlseQ==?= Windows XP Internet Explorer 1 22nd Jan 2004 05:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:55 PM.