RFC 28822 compliance changes.

Move Mail Functionality into smtpManager.cpp
This commit is contained in:
Tina_Azure
2023-05-29 15:12:40 +02:00
parent 8102ea41dc
commit 3237b2af38
4 changed files with 40 additions and 59 deletions

View File

@ -4,7 +4,9 @@
#include <string>
namespace EmailTemplateCollection {
const std::string PASSWORD_RESET_EMAIL_SUBJECT = "Password Reset";
static const std::string PASSWORD_RESET_EMAIL_SUBJECT = "Password Reset";
static const std::string HTML_HEADER = "<!DOCTYPE html><html><body>";
static const std::string HTML_FOOTER = "</body></html>";
std::string passwordResetEmail(const std::string& domain, const std::string& email, const std::string& passwordResetKey) {