zendframework/zf2 — pull request #6072 by wnowogrodzki (2014-04-01 10:54:15+00:00)
Title: Correction for SMTP transport class

If "headers" are generated before "body" important header keys are not included in the headers and the final message (MIME-Version, Content-Type and Content-Transfer-Encoding). Look at Sendmail transport class method "send" - there is correct order of method calls...