Another adaptation for custom SQL mail manager.

This commit is contained in:
MobiusDevelopment
2020-08-26 22:49:14 +00:00
parent fed7650ed1
commit 1b76d624b0
10 changed files with 324 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
CREATE TABLE IF NOT EXISTS `custom_mail` (
`date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
`receiver` INT UNSIGNED NOT NULL DEFAULT 0,
`subject` TINYTEXT NOT NULL,
`message` TEXT NOT NULL,
`items` TEXT NOT NULL -- format: itemId1 count1;itemId2 count2;itemId3 count3...
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

View File

@@ -0,0 +1,11 @@
# ---------------------------------------------------------------------------
# Custom Mail Manager
# ---------------------------------------------------------------------------
# Enable/Disable sending mail through the custom_mail SQL table.
# Default: False
CustomMailManagerEnabled = False
# Database query delay in seconds.
# Default: 30
DatabaseQueryDelay = 30