8 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
my $sendmailProg = $self->param('sendmail') || $defaults{'sendmail'};
open(MAIL,"|$sendmailProg -t") or $fehler = 1;
unless( $fehler ){
print MAIL "To: ".$self->param('FeedbackEmpfaenger')."\n";
print MAIL "Subject: ".$self->param('FeedbackBetreff')."\n\n";
print MAIL "$sendText\n";
close(MAIL) or $fehler = 1;
}
my $mail = new FileHandle "/usr/sbin/sendmail";
1
2
3
4
5
6
7
use FileHandle;
$fh = new FileHandle;
if ($fh->open("< file")) {
print <$fh>;
$fh->close;
}
1
2
3
4
5
my $fh = new FileHandle "/usr/bin/sendmail";
if (defined $fh) {
print $fh "$message\n";
$fh->close;
}
my $fh = new FileHandle "/usr/bin/sendmail";
8 Einträge, 1 Seite |