fixup! New: Option to disable Email encryption

This commit is contained in:
Mark McDowall 2024-01-20 14:40:10 -08:00
parent ae1e972849
commit 646f9a4d27
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ namespace NzbDrone.Core.Test.Datastore.Migration
items.Should().HaveCount(1); items.Should().HaveCount(1);
items.First().Implementation.Should().Be("Email"); items.First().Implementation.Should().Be("Email");
items.First().ConfigContract.Should().Be("EmailSettings"); items.First().ConfigContract.Should().Be("EmailSettings");
items.First().Settings.UseEncryption.Should().Be((int)EmailEncryptionType.Optimistically); items.First().Settings.UseEncryption.Should().Be((int)EmailEncryptionType.Preferred);
} }
[Test] [Test]

View File

@ -1261,7 +1261,7 @@
"NotificationsEmailSettingsServer": "Server", "NotificationsEmailSettingsServer": "Server",
"NotificationsEmailSettingsServerHelpText": "Hostname or IP of Email server", "NotificationsEmailSettingsServerHelpText": "Hostname or IP of Email server",
"NotificationsEmailSettingsUseEncryption": "Use Encryption", "NotificationsEmailSettingsUseEncryption": "Use Encryption",
"NotificationsEmailSettingsUseEncryptionHelpText": "Whether to optimistically use encryption if configured on the server, to always use encryption via SSL (Port 465 only) or StartTLS (any other port) or to never use encryption", "NotificationsEmailSettingsUseEncryptionHelpText": "Whether to prefer using encryption if configured on the server, to always use encryption via SSL (Port 465 only) or StartTLS (any other port) or to never use encryption",
"NotificationsEmbySettingsSendNotifications": "Send Notifications", "NotificationsEmbySettingsSendNotifications": "Send Notifications",
"NotificationsEmbySettingsSendNotificationsHelpText": "Have MediaBrowser send notifications to configured providers", "NotificationsEmbySettingsSendNotificationsHelpText": "Have MediaBrowser send notifications to configured providers",
"NotificationsEmbySettingsUpdateLibraryHelpText": "Update Library on Import, Rename, or Delete?", "NotificationsEmbySettingsUpdateLibraryHelpText": "Update Library on Import, Rename, or Delete?",

View File

@ -74,7 +74,7 @@ namespace NzbDrone.Core.Notifications.Email
public enum EmailEncryptionType public enum EmailEncryptionType
{ {
Optimistically = 0, Preferred = 0,
Always = 1, Always = 1,
Never = 2 Never = 2
} }