mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 09:52:16 -05:00
Improve handling of From: Headers without parseable email addresses (fixes 3814)
This commit is contained in:
parent
c89743635c
commit
6a76b073c3
@ -149,6 +149,8 @@ public class Address {
|
||||
}
|
||||
} catch (MimeException pe) {
|
||||
Log.e(K9.LOG_TAG, "MimeException in Address.parse()", pe);
|
||||
//but we do an silent failover : we just use the given string as name with empty address
|
||||
addresses.add(new Address("", addressList));
|
||||
}
|
||||
return addresses.toArray(EMPTY_ADDRESS_ARRAY);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user