Re: MAPI Messages GetNext() throws exception when read receipt in



"=?Utf-8?B?Q2hyaXN0aWFuIEs=?=" <ChristianK@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in news:2D03820E-088E-495E-84DB-53D61D71B1F0@xxxxxxxxxxxxx:
> I can get GetNext() to work happily in a standalone program as well.
> The problem only occurs when I use exactly the same code in a windows
> service. Only then it fails on read receipts but iterates happily
> through any other sort of message.
> Removing the filter does not fix this either.

In that case, I'd suspect the problem is exactly the sort of mysterious
..Net problems that I mentioned, and the fix is either to stop using .Net
or use a .Net-supported technology. Just to check, you are doing this on
the same machine and talking to the same install of ExMAPI and CDO1.21,
right?

> On the other hand, what would you recommend instead of using CDO 1.21.
> I could only find help and information for accessing and manipulating
> an exchange mailbox using CDO. My requirement is basically only that
> it needs to be usable in a windows service. Any other advice. Thanks

WebDAV is okay in .Net -- see

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/wss/wss/_exch2k_http_webdav_access.asp

for the docs on that. microsoft.public.exchange.development is the best
groups to ask questions about that stuff; I've never tried it myself,
but that's because I've never had to talk to an Exchange server from
..net.

-- dan

.



Relevant Pages

  • Re: can anybody solve my problems?
    ... Write a program to sort a list of words and sort a list of numbers. ... Input can be read from Command prompt or a file. ... If you cannot fix them then you can ask your ... Now extend your program to sort the list of words before echoing them ...
    (comp.lang.java.programmer)
  • Re: Back to VB6 and .NET
    ... say you're single stepping thru ... you're about 10/15 minutes into a deep analysis and, oops, you've ... sort of a crutch. ... and then fix it in debug mode. ...
    (microsoft.public.vb.general.discussion)
  • Problems with Threading and CDO in C# Winforms app
    ... Each thread uses CDO 1.21 to logon to a different Exchange mailbox and ... through the use of a Queue object. ... When all threads have completed their work, the Exit button on the UI is ... Is it possible the CDO ...
    (microsoft.public.dotnet.languages.csharp)
  • mutithreading in a Winforms app with CDO
    ... Each thread uses CDO 1.21 to logon to a different Exchange mailbox and ... through the use of a Queue object. ... When all threads have completed their work, the Exit button on the UI is ... Is it possible the CDO ...
    (microsoft.public.dotnet.languages.csharp)
  • fix a per script
    ... I have this script that sort and erase duplicate. ... Please help me to fix it. ... foreach $title ) ...
    (comp.lang.perl.misc)

Loading