diff --git a/NAPS2.Sdk/ImportExport/Email/Mapi/SystemEmailClients.cs b/NAPS2.Sdk/ImportExport/Email/Mapi/SystemEmailClients.cs index f31f5ce002..3b0b98e957 100644 --- a/NAPS2.Sdk/ImportExport/Email/Mapi/SystemEmailClients.cs +++ b/NAPS2.Sdk/ImportExport/Email/Mapi/SystemEmailClients.cs @@ -80,9 +80,9 @@ internal IntPtr GetLibrary(string? clientName) throw new Exception($"Could not find an entry point in dll for email: {dllPath}"); } - private static string GetDllPath(string? clientName) + private string GetDllPath(string? clientName) { - if (string.IsNullOrEmpty(clientName)) + if (string.IsNullOrEmpty(clientName) || clientName == GetDefaultName()) { return DEFAULT_MAPI_DLL; }