blog = $blog; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'New Blog Notification Mail', ); } /** * Get the message content definition. */ public function content(): Content { // return new Content( // view: 'view.name', // ); return new Content( view: 'mail.new_blog_notification', with: [ 'blogTitle' => $this->blog->title, 'blogContent' => $this->blog->content, ] ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }