public EmailAdmins()
 {
     // TODO: Get options from configuration/services.
     options = new EmailAdminsOptions
     {
         AdminEmails             = "*****@*****.**",
         DeliveryMethod          = SmtpDeliveryMethod.SpecifiedPickupDirectory,
         PickupDirectoryLocation = @"C:\Development\SmtpPickupDirectory",
         AckUrlFormat            = "https://localhost:44389/Home/Ack/{0}",
     };
 }
        public EmailAdmins()
        {
            // TODO: Get options from configuration/services.
            options = new EmailAdminsOptions
            {
                AdminEmails             = "*****@*****.**",
                DeliveryMethod          = SmtpDeliveryMethod.SpecifiedPickupDirectory,
                PickupDirectoryLocation = @"C:\Development\SmtpPickupDirectory",
                AckUrlFormat            = "https://localhost:44389/Home/Ack/{0}",
            };

            // Ensure the email pickup folder exists just for testing purposes
            Directory.CreateDirectory(options.PickupDirectoryLocation);
        }