HEX
Server: Apache/2.4.46 (Unix) PHP/7.4.24
System: Linux dc15-w.ht-systems.ru 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User: srv52894 (52894)
PHP: 7.4.24
Disabled: passthru,shell_exec,system,proc_open,popen,show_source
Upload Files
File: //usr/local/bin/send_mail.php
<?php
    ini_set( 'display_errors', 1 );
    error_reporting( E_ALL );
    $hn = gethostname();
    $from = "root@$hn";
    $to = "testmail@hts.ru";
    $subject = "Nagios test mail working";
    $t = time();
    $message = "SENDTIME $t";
    $headers = "Return-Path: tekuchev@hts.ru \nFrom: " . $from;
    mail($to,$subject,$message, $headers);
?>