Send outgoing messages via Outbox folder: Closes #4569

Squashed commit of many patches that merged Eric's outbox patch
as well as additional changes to upgrade the database rather than
require it be wiped and some refactoring suggested by the Outbox
implementation.  Also updated Outbox to be fully atomic via
Transactions.
This commit is contained in:
Eric Gregory 2012-06-11 12:03:57 -07:00 committed by Jim Nelson
parent b7a2993d6f
commit 6963063fd5
36 changed files with 1035 additions and 100 deletions

13
sql/Version-003.sql Normal file
View file

@ -0,0 +1,13 @@
--
-- SmtpOutboxTable
--
CREATE TABLE SmtpOutboxTable (
id INTEGER PRIMARY KEY,
ordering INTEGER,
message TEXT
);
CREATE INDEX SmtpOutboxOrderingIndex ON SmtpOutboxTable(ordering ASC);