resetLink = $resetLink; $this->siteEmail = (string) config('mail.from.address'); $siteName = config('app.name'); $this->site = is_array($siteName) ? (string) ($siteName[0] ?? '') : (string) ($siteName ?? ''); $this->preheader = 'Reset your password using the secure link inside.'; } /** * @throws \Exception */ public function build(): static { return $this->from($this->siteEmail) ->brandedSubject('Reset your password') ->markdown('emails.markdown.forgottenPassword', [ 'resetLink' => $this->resetLink, 'site' => $this->site, 'preheader' => $this->preheader, ]); } }