+ 26 °C 

. -. . . . . . . . -. . . -. . - - . . 158 . . . CentOS Oracle SAMBA GlassFish LAMP Motion EJabberd Postfix. Dovecot. Amavisd Perl Jabber VLC M3U Ubuntu
 . YouPict.Ru.


>> >> Perl


24.04.2014 Perl-

sendmail:

#!/usr/bin/perl

##############################################################
open (SENDMAIL, "|/usr/sbin/sendmail -t") or die "sendmail not ready";
print SENDMAIL "From: User Test \n";
print SENDMAIL "To: User Pets \n";
print SENDMAIL "Reply-To: User Hets \n";
print SENDMAIL "Subject: Test message from Admin\n\n";
print SENDMAIL "Hi. Good Test";
close (SENDMAIL) or warn "sendmail didn't close nicely";
##############################################################



(0)


[ ]


2005 - 2018 *