mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Prevent crash
This commit is contained in:
@@ -194,7 +194,8 @@ public class EmailProvider {
|
||||
}
|
||||
|
||||
// https://docs.aws.amazon.com/workmail/latest/userguide/using_IMAP_client.html
|
||||
if (autoconfig.imap.host.endsWith(".awsapps.com"))
|
||||
if (autoconfig.imap.host != null &&
|
||||
autoconfig.imap.host.endsWith(".awsapps.com"))
|
||||
autoconfig.partial = false;
|
||||
|
||||
return autoconfig;
|
||||
|
||||
Reference in New Issue
Block a user