HEX
Server: Apache
System: Linux viper.innovativeinternet.net 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
User: thetradingroom (1095)
PHP: 8.3.25
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //ibin/emailtest
#!/usr/bin/perl
 
$to = 'test@posimp.com';
#$from = 'jack@web56.net';
$from = 'test@posimp.com';
$subject = 'Test Email';
$message = 'This is test email sent by Perl Script';

$mailprog = '/usr/lib/sendmail -f ';
 
#open(MAIL, "|/usr/sbin/sendmail -f");
 
   open (MAIL,"|$mailprog $from $from, $bcc_email") || die "Can't open $mailprog!\n";


# Email Header
print MAIL "To: $to\n";
print MAIL "From: $from\n";
print MAIL "Subject: $subject\n\n";
# Email Body
print MAIL $message;

close(MAIL);
print "Email Sent Successfully\n";