zendframework/zf2 — pull request #1475 by Maks3w (2012-06-11 00:27:09+00:00)
Title: Feature/mail refactor

[Mail] Refactor headers
* Use more HeadersInterface instances in Headers implementation
* Centralize the render of headers newlines (CRLF) in Headers implementation rather than each HeaderInterface::toString()
* Delegate headers render in each instance toString

[Mail] Changes in Generic headers and HeaderMultiInterface
* GenericMultiHeader now inherits from GenericHeader
* HeaderMultiInterface now is independent from HeaderInterface

[Mail] Normalize plugin alias.
* Use only underscore to split name parts as the rest of ZF2 components.

[Mail] Avoid render To: and Cc: headers if doesn't have addresses

[![Build Status](https://secure.travis-ci.org/Maks3w/zf2.png?branch=mail-refactor)](http://travis-ci.org/Maks3w/zf2)