Commit da8a1d71 authored by Russ Fish's avatar Russ Fish
Browse files

Files to append are supposed to be optional to the SENDMAIL function.

parent 145c69c3
......@@ -138,7 +138,7 @@ sub SENDMAIL($$$;$$@)
if (@Files) {
foreach my $file ( @Files ) {
if (open(IN, "$file")) {
if (defined($file) && open(IN, "$file")) {
print MAIL "\n--------- $file --------\n";
while (<IN>) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment