Mapi: Use mapi32.dll for default email client

#383
This commit is contained in:
Ben Olden-Cooligan 2024-07-06 12:17:30 -07:00
parent bbe4cc76cb
commit 2e49ccfa4c

View File

@ -80,9 +80,9 @@ internal class SystemEmailClients
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;
}