public function send(Mail $mail) { $this->setReceiver($mail->to); $this->setMail($mail->subject, $mail->content); return $this->sendMail(); // 发送 }