event->form; $formatter = (new FormSubmissionFormatter($form, $this->event->data)) ->createLinks() ->outputStringsOnly(); return $this ->replyTo($form->creator->email) ->from($this->getFromEmail(), $form->notification_sender) ->subject($form->notification_subject) ->markdown('mail.form.confirmation-submission-notification',[ 'fields' => $formatter->getFieldsWithValue(), 'form' => $form, ]); } private function getFromEmail() { $originalFromAddress = Str::of(config('mail.from.address'))->explode('@'); return $originalFromAddress->first(). '+' . time() . '@' . $originalFromAddress->last(); } }