/** * @return \MailSo\Mime\Part */ public function Reset() { \MailSo\Base\ResourceRegistry::CloseMemoryResource($this->Body); $this->Body = null; $this->Headers = HeaderCollection::NewInstance(); $this->SubParts = PartCollection::NewInstance(); $this->LineParts = array(); $this->sBoundary = ''; $this->sParentCharset = \MailSo\Base\Enumerations\Charset::ISO_8859_1; return $this; }