diff --git a/src/com/fsck/k9/mail/store/LocalStore.java b/src/com/fsck/k9/mail/store/LocalStore.java index 4d35ef3c6..b426e4ebc 100644 --- a/src/com/fsck/k9/mail/store/LocalStore.java +++ b/src/com/fsck/k9/mail/store/LocalStore.java @@ -2402,7 +2402,9 @@ public class LocalStore extends Store implements Serializable { if (disposition != null) { String s = MimeUtility.getHeaderParameter(disposition, "size"); if (s != null) { - size = Integer.parseInt(s); + try { + size = Integer.parseInt(s); + } catch (NumberFormatException e) { /* Ignore */ } } } }