mikel/mail — pull request #365 by bogdan (2012-03-03 11:31:49+00:00)
Title: Add maximum_amount of parsed headers configuration parameter

Improving the work done in #206.

As per #206 - maximum amount of parsed headers is set to 1000. In my case this is a lot, because I dispaly 10 mails per page and need to parse them all during request. Acceptable value for me is 100 headers per email.

So I made it configurable.

Some tests bundled - as @mikel requested in #206.

Thanks @scsmith for raising this question.