exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exchange 2007 BUG in OnSyncsave Event Sink processing

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Development
Author Message
Young Developer



Joined: 05 Aug 2007
Posts: 4

PostPosted: Sun Feb 24, 2008 7:14 pm    Post subject: Exchange 2007 BUG in OnSyncsave Event Sink processing Reply with quote

Hello!

I would like to inform about bug in OnSyncSave which MS come into Exchange
2007 SP1 x64(maybe Exchange 2007 x64 also has it I'll check) and I don't know
how to fix it (Exchange 2003 and 2000 handles it correctly).
I am experienced user/coder of this Event Sink and my code works properly on
all earlier Exchange 2000/2003.

How to reproduce problem:
---------------------------------
If You implement very simple OnSyncSave Event sink - add "comment line" at
the begining or at the end of e-mail (use for example IMessage and add some
textline to the TextBody of e-mail).
If You send e-mail to single recipient the text is added ONCE correctly.
What is happend if You send e-mail to two recipients? (second recipient in
TO: or in CC:)
The first recipient is getting e-mail with added text ONCE - OK, but second
recipient has added it twice. Test e-mail for three recipients. The third has
the text added three times.
To inform You I check Flags in OnSyncSave:
if ((lFlags & EVT_SYNC_BEGIN) && (lFlags & EVT_IS_DELIVERED))
{ to add comment line }

Why is it so?
--------------
The first OnsyncSave event fired for first recipient has original e-mail at
input for processing (saved by me to file just before processing), but 2nd
recipient has already modified e-mail for previous recipient at input (saved
by me to file just before processing), and the third one has modified e-mail
which for second recipient and so on.

I can tell that my code worked properly for years in previous exchange
2000/2003 and through all Service Packs and e-mail sent to multiple
recipients was processed only from it's original form (not modified).

Can You tell me how to solve it or is it possible to force Microsoft to make
the processing event sink in original way?

Kind Regards.

Archived from group: microsoft>public>exchange>development
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Exchange 2007 Web Service + Event Sink Integration I have a requirement to synchronise our contact data between an Exchange Public Contacts Folder and our application's database. We are using Exchange 2007 SP1 connecting to Outlook 2007 clients. Creating contacts in the Exchange Public Folder works great

Store Event Sink in Exchange 2007 using CDOEX Hi all I'm making an event sink that will process e-mails, appointments and tasks that contain some custome parametres set with an Outlook add-in. 1) Currently I have problems finding the right cdoex.dll file. I'm developing on an virtual m

What role in Exchange 2007 to register the Store Event Sink I've been developing an store event sink (onsave) in an environment with a single 64bit Exchange 2007 server holding all the server roles (hub, edge, mailbox, etc). However, our customer have a cluster, and I know wonder what server role I have to registe

Global Event Sink on Exchange 2007 SP1 Public Store problem Dear MSVP's, OS: Windows Server 2008 final as AD Global Controller with Exchange 2007 SP1 final I have developed event sink on Exchange 2007 SP1 which is fired globally on Public folders Store. It works OK in Public folders on Windows Server 2003 R2 SP2 w

Appliocation log error on onsave event sink Hi all, We have onsave event sink that we have tested on our development environment (single Exchange 2007 computer with all roles) which works good. However, when we try to deploy it on the test environment (multiple servers, event sink installed on the
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group