http://www.perlmonks.org?node_id=992047


in reply to Not able to send an email using this command

Try Perl special variable($!, $@) to capture error or use eval block.
  • Comment on Re: Not able to send an email using this command