1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

Improve handling of From: Headers without parseable email addresses (fixes 3814)

This commit is contained in:
Bernhard Redl 2011-11-02 02:04:19 +01:00
parent c89743635c
commit 6a76b073c3

View File

@ -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);
}