data = $data; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( // from: new Address($this->data['absender_email'], $this->data['absender_name']), // from: new Address('office@nutzwerte.com', 'Architekt Hanno Vogl-Fernheim'), subject: $this->data['subjekt'], ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'mail.newsletter', ); } }