I've got a major problem with a mailet.  I have my own custom maillist
mailet that sends to a list located in a database.  It works 98% of the
time.  But twice now, it has gone into an infinite loop.  I get a bunch of
exceptions in the log saying that for some reason it can't get to MySQL.  So
it's apparently failing.  Interesting that it still has no problem pulling
the 800 email addresses from MySQL each time it restarts and resending the
note to most of them before failing.

 

I know I have a MySQL problem and need to figure out what is going on there.
But the more urgent problem is how to guarantee that no matter what kind of
failure occurs, the maillist must terminate and not continually restart and
send the note to each recipient a hundred times.

 

What do I need to do either in the mailet code or in the configuration file
to ensure any failure (with the db or anything else) on this mailet forces a
complete termination of this mail message and guaranteed no restart?

 

Thanks

Reply via email to