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

vit has asked for the wisdom of the Perl Monks concerning the following question:

I am getting
SMTP Failed to connect to mail server: Bad file descriptor
when running the following code on Windows
use MIME::Lite; my $msg=MIME::Lite->new(From=>"xx", To=>'xxx@xxx.com', Subject=>'Test MIME', Data=>"This is the test message"); $msg->send;
What am I missing?