Help for this page
open( MAIL, "| $sendmail -t" ) or die "Can't start $sendmail : $!\n"; ... print MAIL "."; close(MAIL) or die "Failed to send the mail: $! $?\n";