/** * Return headers as string * * @return string headers * @throws lang.Throwable if prepare() fails */ public function getHeaderString() { $this->prepare(); return parent::getHeaderString(); }
/** * Sets message body * * @param string str Message Text ('text/plain') * @return peer.mail.MimePart Body Part */ public function setBody($str) { return parent::setBody($this->getTokens() . $str); }