Is it possible that the filenames you're passing it have newlines in them? I'm not using Windows, so don't have Mail::Sender, but if you read them from a file, you may have to remove the newlines:
open FILES, 'listOfFiles.txt';
while (my $file = <FILES>)
{
chomp($file); # may need this
send($file); # or whatever
}