Help for this page
open RES, 'bas.txt'; my $msg; do { local $/; $msg = <RES> }; close RES;
my %mail = ( To => 'toemailhere', From => 'fromemailhere', Subject => "Output", Message => $msg );