zendframework/zf2 — pull request #2334 by Xerkus (2012-09-10 20:36:39+00:00)
Title: Mail\Message::getSubject() should return value the way it was set

Message return subject in encoded form which is quite unexpected behaviour for end user

```php
$message->setSubject('Subject');
$message->setEncoding('UTF-8');
$message->getSubject(); // Subject
//before this PR:
$message->getSubject(); // =?UTF-8?Q?Subject?=
```

Transport should retrieve encoded Subject header value from headers and not directly from message object.