A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

NewMailEx issue



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 20th 09, 06:49 AM posted to microsoft.public.outlook.program_addins
arati
external usenet poster
 
Posts: 2
Default NewMailEx issue


Hello

We are developing outlook addin which should work in outlook 2003 &
2007.
We have few custom header fields in the mail & then based on these
fields in mail header, mails are updated in the database or land up in
inbox.

NewMailEx event on inbox was used for this purpose. The issue with this
event is that we loose few of the mails, the event doesn't get fired
properly & the mail comes in inbox instead of database.

If we access outlook on few folders, we NewMailEx event is not firing.
On some other time as well it is not getting fired.

What is best way to work on this functionality?

Can we overide send/receive button in outlook & write our own
functionality on it? How to do it? There should not be separate button
for this purpose. It should happen with send receive button?

Can we get events before NewMailEx? When we send receive command, can
we detect the reponse from server on client?

How to do it?

Please guide.

Regards,
Arati


--
arati
http://forums.slipstick.com

  #2  
Old November 22nd 09, 06:02 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default NewMailEx issue

What do you mean by "If we access outlook on few folders, we NewMailEx event
is not firing"?
Do you mean a message simply gets created in a folder instead of being
delivered from, say, an SMTP server?
Have you looked at the Items.ItemAdd event?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"arati" arati.41xtda@invalid wrote in message news:arati.41xtda@invalid...

Hello

We are developing outlook addin which should work in outlook 2003 &
2007.
We have few custom header fields in the mail & then based on these
fields in mail header, mails are updated in the database or land up in
inbox.

NewMailEx event on inbox was used for this purpose. The issue with this
event is that we loose few of the mails, the event doesn't get fired
properly & the mail comes in inbox instead of database.

If we access outlook on few folders, we NewMailEx event is not firing.
On some other time as well it is not getting fired.

What is best way to work on this functionality?

Can we overide send/receive button in outlook & write our own
functionality on it? How to do it? There should not be separate button
for this purpose. It should happen with send receive button?

Can we get events before NewMailEx? When we send receive command, can
we detect the reponse from server on client?

How to do it?

Please guide.

Regards,
Arati


--
arati
http://forums.slipstick.com



  #3  
Old November 23rd 09, 04:43 AM posted to microsoft.public.outlook.program_addins
arati
external usenet poster
 
Posts: 2
Default NewMailEx issue


If we send 50 or 100 mails in sequence from a tool, one after the other
, the few mails get updated into database. While receiving the mails if
we access any of the folder the event doesn't get fired & the mail gets
landed in inbox instead of the database.

Is ItemAdd event reliable? Will it get fired for every new mail ?

Somewhere read that NewmailEx is better. We have used ItemAdd for sent
folder.


--
arati
http://forums.slipstick.com

  #4  
Old November 23rd 09, 09:28 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default NewMailEx issue

No MAPI events are reliable: they were designed for the UI purposes only and
are dropped under heavy loads.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"arati" arati.4237ky@invalid wrote in message news:arati.4237ky@invalid...

If we send 50 or 100 mails in sequence from a tool, one after the other
, the few mails get updated into database. While receiving the mails if
we access any of the folder the event doesn't get fired & the mail gets
landed in inbox instead of the database.

Is ItemAdd event reliable? Will it get fired for every new mail ?

Somewhere read that NewmailEx is better. We have used ItemAdd for sent
folder.


--
arati
http://forums.slipstick.com



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NewMailEx Only provides First e-mail in inbox ben Outlook and VBA 2 October 2nd 09 07:45 PM
The EntryID in NewMailEx Event Al_21_11[_2_] Add-ins for Outlook 1 July 2nd 09 02:07 PM
Problem using NewMailEx Trefor Outlook and VBA 10 May 30th 08 03:41 PM
NewMailEx Code runs only once... Rafael[_2_] Outlook - Using Forms 0 September 9th 07 03:10 AM
NewMailEx vs. ItemAdd Mark Rae Outlook and VBA 14 June 15th 06 03:07 PM


All times are GMT +1. The time now is 12:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.