123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace App\Mail;
- use Illuminate\Bus\Queueable;
- use Illuminate\Contracts\Queue\ShouldQueue;
- use Illuminate\Mail\Mailable;
- use Illuminate\Queue\SerializesModels;
- class SysErrorNotice extends Mailable
- {
- use Queueable, SerializesModels;
- public string $content = "";
- /**
- * Create a new message instance.
- *
- * @return void
- */
- public function __construct($content)
- {
- $this->content = $content;
- }
- /**
- * Build the message.
- *
- * @return $this
- */
- public function build()
- {
- $this->from("lilei@ttyuweb.com", "助友办公服务器");
- $this->subject("助友办公紧急通知");
- $this->to("597196313@qq.com");
-
- return $this->view('emails.server.error');
- }
- }
|