mailData = $mailData; } /** * Get the message envelope. */ // public function envelope(): Envelope // { // return new Envelope( // subject: 'You add in subadmin ', // ); // } // /** // * Get the message content definition. // */ // public function content(): Content // { // return new Content( // view: 'mail.subadmin', // ); // } // /** // * Get the attachments for the message. // * // * @return array // */ // public function attachments(): array // { // return []; // } public function build() { // $otp = $this->otp; return $this->subject('OTP From Cheers to the Session')->view('mail.subadmin'); } }