protected function createOutgoingMessage() { $message = new OutgoingMessage($this->container['view']); //If a from address is set, pass it along to the message class. if (isset($this->from)) { $message->from($this->from); } return $message; }