firstPart, partname => value) * @throws Exception\ExceptionInterface */ public function getHeaderField($name, $wantedPart = '0', $firstName = '0'); /** * Getter for mail headers - name is matched in lowercase * * This getter is short for PartInterface::getHeader($name, 'string') * * @see PartInterface::getHeader() * * @param string $name header name * @return string value of header * @throws Exception\ExceptionInterface */ public function __get($name); /** * magic method to get content of part * * @return string content */ public function __toString(); }