![]() |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 12:26 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-2006 OutlookBanter.com