Skip to content

Commit 5e49f6b

Browse files
Pass raw headers from imap storage as "raw" when creating a message
Credit https://github.com/jaspernbrouwer zendframework#605
1 parent c224b65 commit 5e49f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Zend/Mail/Storage/Imap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function getMessage($id)
170170
$flags[] = isset(self::$_knownFlags[$flag]) ? self::$_knownFlags[$flag] : $flag;
171171
}
172172

173-
return new $this->_messageClass(array('handler' => $this, 'id' => $id, 'headers' => $header, 'flags' => $flags));
173+
return new $this->_messageClass(array('handler' => $this, 'id' => $id, 'raw' => $header, 'flags' => $flags));
174174
}
175175

176176
/*

0 commit comments

Comments
 (0)