Mutiple email recipients in kirby3 uniform

Hello, I am using Kirby3 Uniform email form.

If someone sends a message, I want both the sender and receiver to receive it.
How do I write the code? Help me…!
And how do I write ‘to’ to receive mail from the customer’s email address?

My code is as below.
/controllers/contact.php

   <?php

use Uniform\Form;

return function ($kirby)
{
    $form = new Form([
        'name' => [
            'rules' => ['required'],
            'message' => 'Name is required',
        ],
        'email' => [
            'rules' => ['required', 'email'],
            'message' => 'Email is required',
        ],
        'phone' => [
            'rules' => ['required'],
            'message' => 'Phone is required',
        ],
        'inquiring_product' => [
            'message' => 'Inquiring product is required',
        ],
        'product_use' => [
            'message' => 'Product use is required',
        ],
        'quantity' => [
            'message' => 'Quantity is required',
        ],
        'qna' => [
            'message' => 'Q&A is required',
        ],

    ]);

    if ($kirby->request()->is('POST')) {
        $form->emailAction([
            'to' => 'info@workingclasshero.kr',
            'from' => 'info@workingclasshero.kr',
        ])->emailAction([
            'to' => 'info@workingclasshero.kr',
            'from' => 'info@workingclasshero.kr',
        ]);
    }

    return compact('form');
};

site/contact.php

<input name="email" type="email" value="<?php echo $form->old('email') ?>" required placeholder="E-mail">

Try using an array like here for the recipient: Emails | Kirby

https://kirby-uniform.readthedocs.io/en/latest/actions/email/#receive-copy

Thank you for your answer.

I have one more question.
What should I do if I want to put the value of the contents that I input to the email input?

if ($kirby->request()->is('POST')) {
        $form->emailAction([
            'to' => 'here...',
            'from' => 'info@workingclasshero.kr',
            'bcc' => 'info@workingclasshero.kr',
        ]);
    }

https://kirby-uniform.readthedocs.io/en/latest/actions/email/#template_1

I read the link you gave me. However, the link shows an example of specifying the email I wrote.
'to' => 'sample@gmail.com'

However, I would like the email that the customer wrote in the front-end input field to be placed in the 'to' => position instead of the email I specified.

I tried to find an example of this, but I couldn’t find it… :cry:

How can I get a message sent to an email written in frontend’s contact form?

The issue is resolved.
'to' => get('email')