use Sys::Syslog qw(:DEFAULT setlogsock);
use Getopt::Long;
use Text::Wrap;
+use Email::MessageID;
umask (022);
$ENV{"LC_ALL"} = "C"; # do not think about multibyte characters
ftp_syslog('warning', "($log_style) Error uploading package: $msg");
ftp_syslog('info', "($log_style) Subject: generic failure");
}
+ my $mid = Email::MessageID->new;
+ $smtp->datasend("Message-ID: $mid");
$smtp->datasend ("\n\n");
ftp_syslog('info', "($log_style) Body: $msg");