user = $user; $this->recipient = $user->defaultRecipient; } /** * Build the message. * * @return $this */ public function build() { return $this ->subject("Your AnonAddy API token expires soon") ->markdown('mail.token_expiring_soon', [ 'user' => $this->user, 'recipientId' => $this->recipient->id, 'fingerprint' => $this->recipient->should_encrypt ? $this->recipient->fingerprint : null ]) ->withSymfonyMessage(function (Email $message) { $message->getHeaders() ->addTextHeader('Feedback-ID', 'TES:anonaddy'); }); } }