Hello Community,
I hope this is the right place to post such questions / problems.
I'm like to develop an Trac Plugin to expand the functionality of
IEmailSender respectively the email notification system.
So my "simple" question is, which Extension point or Component have I
to use, to take a decision if or if not a email notification would be
send.
Further Information:
I would like to give the customer a possibility to set an interval
(daily, weekly, directly) for reserving email notification, like it is
possible on this google news group.
This would be solved by using of threads an the sleep mechanism. But
actually it isn't possible to me, to access the event, when an
notification has been send.
If I use following code, the email would be correctly send, but no
event where triggered.
What I'm doing wrong?
class mailtest(Component):
implements(IEmailSender)
#IEmailSender
def send(self, from_addr, recipients, message):
print "IEmailSender"
print "From: %s"%from_addr
print "To: %s"%recipients
print "message: %s"%message
return from_addr, recipients, message
Or do I misunderstood the functionality of the given Extension Point?
I hope some one could give me a hint how to use this extension point
or which Component I have to reuse, to solve my Problem.
Thanks for your help
Best Regards
Stefan
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.