We have written Custom Exchange Gateway modifying Sample Gateway
application that comes with Exchange SDk kit.
The problem is it works well as long as we are talking about one
If we have more than One exchange server either in one site or in
multiple site. It fails to work.
My Sample MAPI program or Microsoft OutLook works fine. The diffrence
betweeen them and Our Gateway is that our Gateway has message envelope
For Example :
We have 2 Exchange Servers in one Site. Say ServerA and ServerB.
ServerA has UserA and ServerB has userB. Since it's one one site, Global
directory gets synchronized.
Our gateway is installed on Server A.
If external message come to our gateway at Exchange ServerA ( for userA
and userB). We create MAPI message with Envelope for that.
We could resolve successfully both userA and userB to their Exchange
addresses in Gateway.
When we submit the message it only goes to userA and NDR is generated
I don't know why??!!
Message is fine. Both recipient get resolved to their corresponding
Also the message that userA receives, If I Send reply to All, then It
goes fine to user B as it does not go through over gateway.
Any Help appreciated.