function save() { parent::save(); $this->getMailData()->setId($this->getId()); $this->getMailData()->save(); }