data = $data; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( replyTo: [ new Address($this->data["email"],''), ], subject: '[NivaCloud] Newsletter Mail', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'email.newsletter', ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }