NewMailEx issue

Status
Not open for further replies.

arati

Member
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
 
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)

-

"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
> >
 
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.
 
No MAPI events are reliable: they were designed for the UI purposes only and

are dropped under heavy loads.

Dmitry Streblechenko (MVP)

-

"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
> >
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S NewMailEx event not Triggered Outlook VBA and Custom Forms 2
B NewMailEx Only provides First e-mail in inbox Outlook VBA and Custom Forms 2
A The EntryID in NewMailEx Event Outlook VBA and Custom Forms 1
boblewis Technical Issue with Custom Form - Save to Drafts Not Syncing Outlook VBA and Custom Forms 1
Z Hotmail account deleted from outlook and issue with account not exist Using Outlook 0
mrrobski68 Issue with Find messages in a conversation macro Outlook VBA and Custom Forms 1
H Outlook 365 issue getting details from embedded files, crashing routine Outlook VBA and Custom Forms 0
O Mail rule issue Using Outlook 3
D Auto Remove [EXTERNAL] from subject - Issue with Macro Using Outlook 21
Commodore Safe way to add or update holidays; Windows Notifications issue Using Outlook 8
e_a_g_l_e_p_i Gmail in Outlook 2010 preview issue Using Outlook 4
M Issue transferring Outlook 2016 email accounts & settings onto new computer Using Outlook 8
P Forwarding emails issue with special characters replacing text body Using Outlook 1
S Excel VBA and shared calendar issue Outlook VBA and Custom Forms 3
A Clipboard Resize Issue Using Outlook 7
J O365 - Adding Shared Google Calendar ICS link issue in O365 Using Outlook 0
P Outlook 2013 "Item could not be moved - still an issue for Outlook 2013 Using Outlook 0
E Mail sorting view issue Using Outlook 1
D hide messege issue Using Outlook 1
B Outllok 2007 License Expired issue Using Outlook 0
ManaarZakaria I'm afraid of this issue, cause of strange error Exchange Server Administration 2
e_a_g_l_e_p_i Another reinstall of Outlook 2010 issue Using Outlook 10
Justo Horrillo Issue with rules in Outlook 2010 Using Outlook 4
G Icloud Contacts With Outlook Issue Using Outlook 4
J Outlook.com Contact Sync Issue Using Outlook.com accounts in Outlook 9
M Calendar Time Zone issue Using Outlook 0
B My outlook calendar edit issue Outlook VBA and Custom Forms 0
D Unusual calendar issue Exchange Server Administration 0
D Multiple Accounts Issue Receiving Emails in 2016 Using Outlook 0
B Winmail.dat Issue Using Outlook.com accounts in Outlook 0
tswatek Issue with where Outlook saves new contacts Using Outlook 3
K Outlook with MDaemon Connectivity Issue Using Outlook 4
G .ost file corrupted / solved the issue with some posts already said, but .ost file is corrupted agai Using Outlook 2
D Resizing issue for message field Outlook VBA and Custom Forms 0
P Outlook hanging issue Using Outlook 0
K Outlook 2013 calendar issue with Outlook.com Using Outlook.com accounts in Outlook 2
J Favorites in Public Folders issue Outlook VBA and Custom Forms 0
K Insert screenshots issue Using Outlook 2
T issue changing [Type] in dbo.ContactMainTable/ contacts seem to be deleted BCM (Business Contact Manager) 5
B Sub Calendar-Color Coding Issue Using Outlook 4
T Using Outlook 2007 with Comcast (.pst inbox issue) Using Outlook 1
Brendan.Z Outlook 2013 signature editing issue Using Outlook 3
F Custom contact form icon issue Using Outlook 1
A Autocomplete issue Using Outlook 6
wallisellener Synch issue BCM (Business Contact Manager) 2
H Outlook 2013 size issue Using Outlook 1
C Voting Issue with Shared Inbox Using Outlook 1
J Outlook 2013 Forms Issue Using Outlook 1
M BCM remote database connection issue BCM (Business Contact Manager) 1
A How are you handling Outlook.com category issue and syncing Using Outlook.com accounts in Outlook 2

Similar threads

Back
Top