in reply to Malformed Headers due to using scalar for address

You might also check out

perldoc -m net::smtp
This has the advantage on not requiring you to run on a machine with the "mail" program in your path.



--mandog