Sending an email from inside an event sink - possible?

  • Thread starter Thread starter CodeRazor
  • Start date Start date
C

CodeRazor

I have an event sink which does some work to the software we use, according
to the data contained within an email. This is all working hunky dory.

What i want to know is whether it is possible to send an email from inside
of an event sink. So for example an email comes into the event sink, and then
the event sink generates a new email which it then sends.

The reason I ask this is because the event sink code sits on the exchange
server....so i'm not sure if this causes any complications.

Many thanks.

coderazor
 
I have an event sink which does some work to the software we use, according
to the data contained within an email. This is all working hunky dory.

What i want to know is whether it is possible to send an email from inside
of an event sink. So for example an email comes into the event sink, and then
the event sink generates a new email which it then sends.

The reason I ask this is because the event sink code sits on the exchange
server....so i'm not sure if this causes any complications.

Many thanks.

coderazor

Hi,

Just try it :).

I think it's the best test if it going to work or if it going to go
into a recursive loop
 
...... (!) That sort of answer is just exasperating.... (!)

I was asking in case someone already knew the answer..... certainly that's
the whole point of these message boards (!)

Next you'll tell me to try googling for an answer .... (like i hadn't
already thought of that.....)
 
..... (!) That sort of answer is just exasperating.... (!)

I was asking in case someone already knew the answer..... certainly that's
the whole point of these message boards (!)

Next you'll tell me to try googling for an answer .... (like i hadn't
already thought of that.....)

Well, you have no posted any code nor given details about your
"problem". So I asummed that the only possible cause of error would be
a recursive loop.

Personally I only post when I found a problem, I try to do something
and is not working or have no idea how to do it. It saves me time and
I can get a better idea of where the problem might be.
 
so, theoretically it is possible -- that's what i was after.

Thanks for the explanation of how/why recursion may occur.

CodeRazor
 
Back
Top