Form - Change the blue section

@dan I traced the heading in the email template back and found it’s just not configured.

It’s a one liner to make the existing From Name in the form component setting become the heading in the email template. See my code comments below.

/**
     * Prepare email data from form data and config
     */
    private function prepareEmailData(array $formData, array $emailConfig, string $configPath, array $uploadedFiles = []): array
    {
        $emailData = [
            'to' => $emailConfig['to'],
            'subject' => $this->buildSubject($emailConfig, $configPath),
            'template' => $emailConfig['template'] ?? 'default',
            'from_email' => $emailConfig['from_email'] ?? null,
            'from_name' => $emailConfig['from_name'] ?? null,
            'email_title' => $emailConfig['from_name'] ?? 'Missing From Name' // Adding this line in will give the header of the form the from name.
            // The from name is an already existing field in the form component.
            // You can find this at : rw > elements > com.realmac.corepack > api > src > controllers > EmailFormController.php
        ];

        // Process uploaded files for email attachments
        if (!empty($uploadedFiles)) {
            $emailData['attachments'] = $this->processUploadedFiles($uploadedFiles);
        }

        return $emailData;
    }

This change would make the received email look like :

2 Likes