Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 16 Jan 2008 07:57:26 +0300,    group: microsoft.public.exchange.development        back       


transport agent doesn't work after Exchange2007 SP1 installation   
Dear all,

the following code worked OK before SP1 installation:

void SRoutingAgent_OnRoutedMessage(RoutedMessageEventSource source, 
QueuedMessageEventArgs e)
{

....

                                         Header replyToHeader = null;
                                            try { replyToHeader = 
Hdrs.FindFirst(HeaderId.ReplyTo); } catch { }
                                            if (null != replyToHeader)
                                            {
                                                // create a recipient based 
on Display-To
                                                MimeRecipient mmR = null;
                                                try { mmR = new 
MimeRecipient(sd, s); } catch { }
                                                if (null != mmR)
                                                {
                                                    try
                                                    {
                                                        //delete old 
Reply-To:
                                                        Hdrs.RemoveAll(HeaderId.ReplyTo);
                                                        //change Reply-To: 
header
                                                        replyToHeader.RemoveAll();
                                                        replyToHeader.AppendChild(mmR);
                                                        //create new 
Reply-To: header
                                                        Hdrs.AppendChild(replyToHeader);
                                                    }
                                                    catch {...}
                                                }
                                            }


...

}

It doesn't work on Exchange 2007 SP1.

Reply-To header remains unchanged. Why? Please help.

Thanks in advance,

Victor Ivanidze
date: Wed, 16 Jan 2008 07:57:26 +0300   author:   Victor Ivanidze se

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us