implement Simple Mail auto-reply when recipient is offline

This commit is contained in:
Martin Michelsen
2023-12-07 12:45:56 -08:00
parent 6d16f8095a
commit 317c9fd616
5 changed files with 52 additions and 10 deletions
+2
View File
@@ -26,6 +26,7 @@ License::License(const JSON& json)
this->bb_password = json.get_string("BBPassword", "");
this->flags = json.get_int("Flags", 0);
this->ban_end_time = json.get_int("BanEndTime", 0);
this->last_player_name = json.get_string("LastPlayerName", "");
this->auto_reply_message = json.get_string("AutoReplyMessage", "");
this->ep3_current_meseta = json.get_int("Ep3CurrentMeseta", 0);
this->ep3_total_meseta_earned = json.get_int("Ep3TotalMesetaEarned", 0);
@@ -44,6 +45,7 @@ JSON License::json() const {
{"BBPassword", this->bb_password},
{"Flags", this->flags},
{"BanEndTime", this->ban_end_time},
{"LastPlayerName", this->last_player_name},
{"AutoReplyMessage", this->auto_reply_message},
{"Ep3CurrentMeseta", this->ep3_current_meseta},
{"Ep3TotalMesetaEarned", this->ep3_total_meseta_earned},