Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Send To Mail Recipient and MAPI Forms

0 views
Skip to first unread message

Sachin Jegaonkar

unread,
Jun 18, 2009, 5:56:52 AM6/18/09
to

Assumption =>> Outlook Application is not running.


Condition =>>

Send To Mail Recipient Issue:
OR
The issue that leads to open MAPI Forms
instead of Outlook Explorer/Inspector.


Actual Working =>>

Send To Mail Recipient link actually uses a Simple MAPI call
to create a new mail message (which the default happens to be Outlook).
Since your MAPI form provider happens to be Outlook,
an Outlook MAPI form is created.
But since it wasn't Outlook that created the inspector,
Outlook doesn't keep track of that inspector, so the inspector count is
still 0.
Outlook.exe does start and the add-in keys are enumerated and manifests are
loaded.


Problem =>>

In this case I am finding some solution that leads
to track events(activate, decativate, send, close, etc...) on MAPI form.
Our Outlook add-in gets all the Outlook events when Outlook Application is
Running.

I am not getting how do I identify (programmatically) MAPI Forms.

It would be of great help if anyone could suggest the solution.

Thanks,

Sachin Jegaonkar


Sachin Jegaonkar

unread,
Jun 18, 2009, 5:47:53 AM6/18/09
to

Dmitry Streblechenko

unread,
Jun 18, 2009, 1:01:11 PM6/18/09
to
NewINspector event does not fire when Simpel MAPI is used to launch the
form, but the open form will be in the Application.Inspectors collection and
you can use a timer to periodically check if new inspectors were displayed.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Sachin Jegaonkar" <APSu...@community.nospam> wrote in message
news:ewVuBo$7JHA...@TK2MSFTNGP05.phx.gbl...

Sachin Jegaonkar

unread,
Jun 19, 2009, 12:57:24 AM6/19/09
to
Hi,

but can I get Send event when clicked on send button on Simple MAPI form?

Rather, can I get other events on Simple MAPI form?

Thanks

Sachin Jegaonkar


"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:eCOCxZD8...@TK2MSFTNGP04.phx.gbl...

Dmitry Streblechenko

unread,
Jun 19, 2009, 2:54:18 AM6/19/09
to
I don't think so.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Sachin Jegaonkar" <APSu...@community.nospam> wrote in message

news:u4gQJqJ8...@TK2MSFTNGP02.phx.gbl...

0 new messages