public function post(RFC5322Message $message) { $message->getHeader()->setValue("To", $this->recipient); $conn = new Net_SMTP($this->host->getHost(), $this->host->getPort()); $conn->connect(); $conn->mailFrom($this->bounceaddress); $conn->rcptTo($this->recipient); $conn->data($message->getPlain()); $conn->disconnect(); return true; }