science-ation/db/db.update.161.sql
james 5dcbc28d54 Fix email sending to not fail if a single email fails, instead, flag it as failed and continue on
Better track email sending as well, and add fields for tracking bounces (not implemented yet)
2010-02-10 17:05:49 +00:00

4 lines
226 B
SQL

ALTER TABLE `emailqueue` ADD `numfailed` INT NOT NULL DEFAULT '0';
ALTER TABLE `emailqueue` ADD `numbounced` INT NOT NULL DEFAULT '0';
ALTER TABLE `emailqueue_recipients` ADD `result` ENUM( 'ok', 'failed' ) NULL DEFAULT NULL