"Jason R. Mastaler" <[EMAIL PROTECTED]> writes:

> How is your client handling CONFIRM_APPEND then?  This is something
> probably every TMDA user uses.

I didn't want to even consider what it would take to do this in a
general fashion (still supporting text files as well as databases), so
we write to a disk file and once a day (late at night) run a Python
script that iterates over all the users, inserts the contents of their
CONFIRM_APPEND files into the database and removes the CONFIRM_APPEND
file.  If an insert fails for any reason other than a duplicate
record, we save that address and write a new CONFIRM_APPEND file
containing just the addresses that failed.  An error message is
printed and the output of the entire script is mailed to the admin.


Tim
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to