Correct way to add other email recipients in this handler.php

#1

How should I add another email address to this handler.php? It is line 22. Every time I change a little thing, something else stops working. I’d like to be sure I’m doing this correctly.

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
/*
Tested working with PHP5.4 and above (including PHP 7 )

 */
require_once './vendor/autoload.php';

use FormGuide\Handlx\FormHandler;


$pp = new FormHandler(); 

$validator = $pp->getValidator();
$validator->fields(['name','email'])->areRequired()->maxLength(50);
$validator->field('email')->isEmail();
$validator->field('message')->maxLength(6000);


$pp->attachFiles(['image']);


$pp->sendEmailTo('peter@mymail.com'); // ← Your email here

echo $pp->process($_POST);