diff --git a/src/Ghosts.Client/Infrastructure/Email/EmailConfiguration.cs b/src/Ghosts.Client/Infrastructure/Email/EmailConfiguration.cs index 80ee139e..0e255ac6 100755 --- a/src/Ghosts.Client/Infrastructure/Email/EmailConfiguration.cs +++ b/src/Ghosts.Client/Infrastructure/Email/EmailConfiguration.cs @@ -190,14 +190,14 @@ private static List ParseEmail(string raw, int min, int max) var emails = EmailListManager.GetDomainList(); _log.Trace($"Building domain email list: {emails.Count}..."); - for (var i = 0; i <= numberOfRecipients; i++) + for (var i = 0; i < numberOfRecipients; i++) list.Add(emails.PickRandom()); //add outside var numberOfOutsideRecipients = rnd.Next(Program.Configuration.Email.RecipientsOutsideMin, Program.Configuration.Email.RecipientsOutsideMax + 1); var outsideEmails = EmailListManager.GetOutsideList(); _log.Trace($"Building outside email list: {outsideEmails.Count}..."); - for (var i = 0; i <= numberOfOutsideRecipients; i++) + for (var i = 0; i < numberOfOutsideRecipients; i++) list.Add(outsideEmails.PickRandom()); } else diff --git a/src/Ghosts.Client/Properties/AssemblyInfo.cs b/src/Ghosts.Client/Properties/AssemblyInfo.cs index 68f0856f..cdc7d9f1 100755 --- a/src/Ghosts.Client/Properties/AssemblyInfo.cs +++ b/src/Ghosts.Client/Properties/AssemblyInfo.cs @@ -34,4 +34,4 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("8.0.0.0")] [assembly: AssemblyInformationalVersion("8.0.0.0")] -[assembly: AssemblyFileVersion("8.0.16.0")] +[assembly: AssemblyFileVersion("8.0.20.0")]