12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace App\Mail;
- use Illuminate\Bus\Queueable;
- use Illuminate\Contracts\Queue\ShouldQueue;
- use Illuminate\Mail\Mailable;
- use Illuminate\Queue\SerializesModels;
- class ForgetPasswordEmail extends Mailable
- {
- use Queueable, SerializesModels;
- public $code;
- public $subject = "您的找回密码验证码";
- /**
- * @param $code
- */
- public function __construct($code)
- {
- $this->code = $code;
- }
- /**
- * Build the message.
- *
- * @return $this
- */
- public function build()
- {
- return $this->view('emails.forgetPassword');
- }
- }
|