3 * @see https://github.com/zendframework/zend-mail for the canonical source repository
4 * @copyright Copyright (c) 2005-2018 Zend Technologies USA Inc. (https://www.zend.com)
5 * @license https://github.com/zendframework/zend-mail/blob/master/LICENSE.md New BSD License
8 namespace Zend\Mail\Storage\Message
;
10 interface MessageInterface
13 * return toplines as found after headers
15 * @return string toplines
17 public function getTopLines();
20 * check if flag is set
22 * @param mixed $flag a flag name, use constants defined in Zend\Mail\Storage
23 * @return bool true if set, otherwise false
25 public function hasFlag($flag);
30 * @return array array with flags, key and value are the same for easy lookup
32 public function getFlags();