]> git.notmuchmail.org Git - notmuch/commit
Don't forget the "to" header when restrict parsing to certain headers
authorCarl Worth <cworth@cworth.org>
Thu, 22 Oct 2009 22:34:47 +0000 (15:34 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 22 Oct 2009 22:34:47 +0000 (15:34 -0700)
commit77f9d3ee0eac9f91e6d298e9e3774f4b161fa713
treecacedf73fbe12f16fa3492fe9855bdb0d66ba02a
parent90f93fc9c7c6f0b86259c259ee9ba0eb08206b27
Don't forget the "to" header when restrict parsing to certain headers

We recently started discarding files as "not email" if they have none
of Subject, From, nor To. Apaprently, my mail collection contains a
number of messages that I sent, that are saved without Subject and
From, (perhaps these were drafts?).

Anyway, it's fortunate I had those since they alerted me to this bug,
where we were not parsing the "To" header in some cases.
database.cc