contact->getMessageId(); return new Headers( messageId: $mid, text: [ 'X-Entity-Ref-ID' => $mid, ], ); } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: ucfirst(strtolower(config('pixelfed.domain.app'))).' Contact Form Response [Ticket #'.$this->contact->id.']', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( markdown: 'emails.contact.admin-response', with: [ 'url' => $this->contact->userResponseUrl(), ], ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }