from; } /** * Set MAIL FROM * * @param string $from */ public function setFrom($from) { $this->from = (string) $from; } /** * Get RCPT TO * * @return string|null */ public function getTo() { return $this->to; } /** * Set RCPT TO * * @param string $to */ public function setTo($to) { $this->to = $to; } }