How to use the PHP mail() function?
To use PHP mail() function, you need to create a mailbox in the Mail section in the user panel and add it as a sender address in the header "From".
$to = 'firstname.lastname@example.org';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: email@example.com';
mail($to, $subject, $message, $headers);