 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Oliver Giesen Guest
|
Posted: Fri Sep 23, 2005 11:06 am Post subject: Documentation/Examples for writing Exchange Server EventSink |
|
|
Hi all!
I need to implement a solution that modifies SMTP headers on outgoing
mail from an Exchange server. From all I have found out so far, this
will have to be implemented as a Transport Event Sink, right?
Unfortunately that's pretty much where my research stopped dead...
where the heck do I find proper documentation on how to do this and
what exactly needs to be done? MSDN so far was no good. I only found
some conceptual level articles but no proper API references or anything
of that kind.
Ideally I'd like to have some Delphi examples as well but that seemed
an even more hopeless venture so far... :(
Any pointers?
--
Cheers,
Oliver
|
|
| Back to top |
|
 |
Oliver Giesen Guest
|
Posted: Fri Sep 23, 2005 3:19 pm Post subject: Re: Documentation/Examples for writing Exchange Server Event |
|
|
Chris Cheney wrote:
| Quote: | "Oliver Giesen" <NO.ogware.SPAM (AT) gmx (DOT) ALLOWED.net.INVALID> wrote in
news:4333e1a1$1 (AT) newsgroups (DOT) borland.com:
Hi all!
I need to implement a solution that modifies SMTP headers on
outgoing mail from an Exchange server. From all I have found out so
far, this will have to be implemented as a Transport Event Sink,
right? Unfortunately that's pretty much where my research stopped
dead... where the heck do I find proper documentation on how to do
this and what exactly needs to be done? MSDN so far was no good. I
only found some conceptual level articles but no proper API
references or anything of that kind.
Let EventSinkImpl do the hard work for you:
http://www.techvanguards.com/products/eventsinkimp/
|
Hmm, I know that tool already. However, from what I've read so far it
seems that apart from the name there is little similarity between the
COM/COM+ EventSink'ing that EventSinkImpl helps with and Exchange
Server EventSinks which for all I could tell are pretty much the
server-side equivalent of an Outlook add-in (to oversimplify matters a
bit).
However, I have made some progress with my research. I now know that
what I will have to write is a SMTP protocol event sink, not a
transport event sink. I will probably have to implement
ISmtpOutCommandSink.OnSmtpOutCommand and set things up so I can react
to the OnMessageStart event and then use the Fields collection of the
IMailMessage object that will hopefully be passed along with the event
to set the SMTP headers. I'm still mostly in the dark about the
specifics though. I haven't even found the DLL containing the type
library for those interfaces yet. The C++-examples on MSDN all appear
to be incomplete (and what's worse, they're in C++... ).
Any pointers, especially Delphi-centric ones, very much appreciated.
--
Cheers,
Oliver
|
|
| Back to top |
|
 |
henry Guest
|
Posted: Wed Oct 05, 2005 1:08 pm Post subject: Re: Documentation/Examples for writing Exchange Server Event |
|
|
| Quote: | "Oliver Giesen" <NO.ogware.SPAM (AT) gmx (DOT) ALLOWED.net.INVALID> wrote in
news:4333e1a1$1 (AT) newsgroups (DOT) borland.com:
Hi all!
I need to implement a solution that modifies SMTP headers on
outgoing mail from an Exchange server. From all I have found out so
far, this will have to be implemented as a Transport Event Sink,
right? Unfortunately that's pretty much where my research stopped
dead... where the heck do I find proper documentation on how to do
this and what exactly needs to be done? MSDN so far was no good. I
only found some conceptual level articles but no proper API
references or anything of that kind.
|
What have you found so far?
I'm interested in those links you might have discovered as I'm writing an
appplication that has to monitor incomming mails to some some specific mail
accounts. Of course that could be implemented using polling since it's just
a few accounts, however the "right" solution would be some eventsink. But
how do I implement such an eventsink thingy in Delphi?
cheers
Henry
|
|
| Back to top |
|
 |
|
|
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
|
|