$smtp->datasend("Message-ID: <$mid>\r\n");
$smtp->datasend("Date: " . strftime("%a, %e %b %Y %H:%M:%S %z", localtime) . "\r\n");
if ($subject ne '') {
- $smtp->datasend ("Subject: [gnu-ftp-upload] $subject");
+ $smtp->datasend ("Subject: [$m_style gnu-ftp-upload] $subject");
ftp_syslog('info', "($log_style) Subject: '$subject'");
} elsif (defined $info{package}) {
- $smtp->datasend ("Subject: [gnu-ftp-upload] $info{package}");
+ $smtp->datasend ("Subject: [$m_style gnu-ftp-upload] $info{package}");
ftp_syslog('info', "($log_style) Subject: $info{package}");
} else {
- $smtp->datasend ("Subject: [gnu-ftp-upload] generic failure");
+ $smtp->datasend ("Subject: [$m_style gnu-ftp-upload] generic failure");
ftp_syslog('warning', "($log_style) Error uploading package: $msg");
ftp_syslog('info', "($log_style) Subject: generic failure");
}