mirror of
https://github.com/webmin/webmin.git
synced 2026-02-16 03:32:16 +00:00
Merge branch 'master' of git@github.com:webmin/webmin
This commit is contained in:
@@ -35,6 +35,9 @@ while(<FILE>) {
|
||||
elsif (/^Charset:\s*(\S+)/) {
|
||||
$simple->{'charset'} = $1;
|
||||
}
|
||||
elsif (/^Subject:\s*(\S+)/) {
|
||||
$simple->{'subject'} = $1;
|
||||
}
|
||||
else {
|
||||
push(@lines, $_);
|
||||
}
|
||||
@@ -81,6 +84,9 @@ if ($simple->{'from'}) {
|
||||
if ($simple->{'charset'}) {
|
||||
&print_tempfile(AUTO, "Charset: $simple->{'charset'}\n");
|
||||
}
|
||||
if ($simple->{'subject'}) {
|
||||
&print_tempfile(AUTO, "Subject: $simple->{'subject'}\n");
|
||||
}
|
||||
&print_tempfile(AUTO, $simple->{'autotext'});
|
||||
&close_tempfile(AUTO);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user