title: Unable to send mail using Mail:Sender in perl
body: <pre><code>use strict;
  use warnings;
  use Mail::Sender;
  
  $::sender = new Mail::Sender
    {smtp =&gt; 'xx.xx.xx.xxx', from =&gt; 'abc@xyz.com'};
  
  $::sender-&gt;MailFile({to =&gt; 'abc@xyz.com',
    subject =&gt; 'Here is the file',
    msg =&gt; "I'm sending you the list you wanted.",
    });
  </code></pre>