shareTitle = $shareTitle ?: $video->title; } public function envelope(): Envelope { return new Envelope( subject: $this->sender->name . ' shared "' . $this->shareTitle . '" with you on ' . config('app.name'), // Let the recipient reply straight to the friend who sent it. replyTo: $this->sender->email ? [new Address($this->sender->email, $this->sender->name)] : [], ); } public function content(): Content { return new Content(view: 'emails.video-shared'); } }