| @@ -188,9 +188,12 @@ | ||
| 188 | 188 | * @var array |
| 189 | 189 | */ |
| 190 | 190 | public $flags = []; |
| 191 | 191 | |
| 192 | - // map header to rcube_message_header object property | |
| 192 | + public $envelope; | |
| 193 | + public array $bodypart = []; | |
| 194 | + | |
| 195 | + // map header to MessageHeader object property | |
| 193 | 196 | private $obj_headers = [ |
| 194 | 197 | 'date' => 'date', |
| 195 | 198 | 'from' => 'from', |
| 196 | 199 | 'to' => 'to', |
| @@ -259,9 +262,9 @@ | ||
| 259 | 262 | * Factory method to instantiate headers from a data array |
| 260 | 263 | * |
| 261 | 264 | * @param array Hash array with header values |
| 262 | 265 | * |
| 263 | - * @return object rcube_message_header instance filled with headers values | |
| 266 | + * @return object MessageHeader instance filled with headers values | |
| 264 | 267 | */ |
| 265 | 268 | public static function from_array($arr) |
| 266 | 269 | { |
| 267 | 270 | $obj = new MessageHeader; |