This commit is contained in:
2023-02-16 23:19:39 +00:00
parent 01507fe86a
commit 550fc97c25

View File

@@ -164,7 +164,7 @@ namespace Sockeye.Biz
if (!l.NotificationSent && !string.IsNullOrWhiteSpace(l.FetchEmail))
{
//## ------------------ DEFAULT NOTIFICATIONS TO CUSTOMER ON LICENSE AVAILABLE ----------------
string ProductGroupEmailSubjectDesignator = string.Empty;
string body = string.Empty;
var licenseInfo = KeyFactory.LicenseInfo(l);
switch (l.PGroup)
@@ -185,6 +185,7 @@ namespace Sockeye.Biz
body = ServerGlobalBizSettings.Cache.V7NewKey.Replace("{LicenseDescription}", licenseInfo);
}
}
ProductGroupEmailSubjectDesignator = " 7";
break;
case ProductGroup.RavenPerpetual:
if (l.TrialMode)
@@ -238,7 +239,7 @@ MaximumDataGB: 20
var notifyDirectSMTP = new Sockeye.Api.Controllers.NotifyController.NotifyDirectSMTP()
{
ToAddress = l.FetchEmail,
Subject = "AyaNova license key",
Subject = $"AyaNova{ProductGroupEmailSubjectDesignator} license key",
TextBody = body
};