include_once("./Services/Utilities/classes/class.ilUtil.php"); $to = "recipient@example.com"; $subject = "Test Email"; $message = "This is a test email sent using ilUtil sendInfo function"; $headers = array( "From: sender@example.com", "Reply-To: sender@example.com", "X-Mailer: PHP/" . phpversion() ); ilUtil::sendInfo($to, $subject, $message, $headers);This code example sends a test email to the specified recipient using the ilUtil sendInfo function. The $to variable contains the recipient's email address, the $subject variable specifies the email subject, and the $message variable contains the email message. The $headers variable is an array containing additional email headers. Package Library: The ilUtil sendInfo function is part of the ILIAS library, which is a package library for the ILIAS learning management system. The ILIAS library contains a variety of classes and functions for building custom plugins and modules for the ILIAS system.