Enable email on Linux

This commit is contained in:
Ben Olden-Cooligan 2023-03-25 16:26:29 +00:00
parent 3cfda56d05
commit 072f092a98
2 changed files with 5 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class EmailSettingsForm : EtoDialogBase
L.GroupBox(
UiStrings.Provider,
L.Row(
_provider.AlignCenter(),
_provider.Wrap(150).AlignCenter(),
C.Filler(),
C.Button(UiStrings.Change, ChangeProvider).AlignCenter().Padding(top: 4, bottom: 4)
)
@ -76,6 +76,9 @@ public class EmailSettingsForm : EtoDialogBase
_provider.Text = SettingsResources.EmailProviderType_OutlookWeb + '\n' +
config.Get(c => c.EmailSetup.OutlookWebUser);
break;
case EmailProviderType.Thunderbird:
_provider.Text = SettingsResources.EmailProviderType_Thunderbird;
break;
case EmailProviderType.CustomSmtp:
_provider.Text = config.Get(c => c.EmailSetup.SmtpHost) + '\n' + config.Get(c => c.EmailSetup.SmtpUser);
break;

View File

@ -18,7 +18,7 @@ public class LinuxSystemCompat : ISystemCompat
public bool CanUseWin32 => false;
public bool CanEmail => false;
public bool CanEmail => true;
public bool CanPrint => false;