$smtp->datasend ("To: " . join (", ", @email_list) . "\n");
$smtp->datasend ("From: $sender\n");
$smtp->datasend ("Reply-To: ftp-upload\@gnu.org\n");
+ my $mid = Email::MessageID->new;
+ $smtp->datasend("Message-ID: $mid\n");
if ($subject ne '') {
$smtp->datasend ("Subject: [gnu-ftp-upload] $subject");
ftp_syslog('info', "($log_style) Subject: '$subject'");
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");