From ecb3cce4379daa71f2f9feee4e4043dbe811019d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 2 Jul 2020 17:57:35 +0000 Subject: [PATCH] --- Controllers/RvlController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Controllers/RvlController.cs b/Controllers/RvlController.cs index 020300f..7832474 100644 --- a/Controllers/RvlController.cs +++ b/Controllers/RvlController.cs @@ -140,14 +140,14 @@ namespace rockfishCore.Controllers //If key is not revoked (don't warn them in that case) send notification to customer if (l.RegisteredTo != RavenKeyFactory.REVOKED_TOKEN) { - + var body = $"Thank you for your purchase!\nYour AyaNova license key is ready to be installed.\nAyaNova will fetch it automatically within 24 hours or you can force it to fetch immediately from the License page in AyaNova now.\n---\n{newLicense}"; //send license email #if (DEBUG) RfMail.SendMessage("support@ayanova.com", "cardjohn@ayanova.com", "AyaNova license key", body, false); #else -throw new System.Exception("UNCOMMENT THIS FOR PRODUCTION"); - // RfMail.SendMessage("support@ayanova.com", Customer.AdminEmail, "AyaNova license key", body, false); +//throw new System.Exception("UNCOMMENT THIS FOR PRODUCTION"); + RfMail.SendMessage("support@ayanova.com", Customer.AdminEmail, "AyaNova license key", body, false); #endif }