visitor = $visitor; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'Visitor Arrival Notification', ); } /** * Get the message content definition. */ public function content(): Content { $greeting = 'Dear Sir'; return new Content( view: 'mail.visitor-arrival', with: [ 'company' => 'CRI Digital Manufacturing Solutions', 'greeting' => $greeting, 'wishes' => 'Thanks & Regards,
CRI Digital Manufacturing Solutions', ], ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }