diff --git a/src/emailTemplateCollection.cpp b/src/emailTemplateCollection.cpp new file mode 100644 index 0000000..56b7187 --- /dev/null +++ b/src/emailTemplateCollection.cpp @@ -0,0 +1,18 @@ +#include + +namespace EmailTemplateCollection { + const std::string PASSWORD_RESET_EMAIL_SUBJECT = "Password Reset"; + + + std::string passwordResetEmail(const std::string& domain, const std::string& email, const std::string& passwordResetKey) { + std::string emailContent; + emailContent = "

Password Reset


"; + emailContent += "If you have requested the Password Reset for the following email: " + email + "
"; + emailContent += "please follow the following link: "; + emailContent += R"(Password Reset.
)"; + emailContent += "If you haven't requested this PasswordReset please ignore this email"; + return emailContent; + } +} \ No newline at end of file