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