in reply to Perl Script Email error
Your $hostname has a trailing newline - you should chomp it first:
my $hostname=`hostname`; chomp $hostname; # ... etc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Script Email error
by choroba (Cardinal) on Jun 14, 2016 at 23:33 UTC | |
|
Re^2: Perl Script Email error
by cbtshare (Monk) on Jun 15, 2016 at 13:28 UTC |