http://qs321.pair.com?node_id=752023


in reply to Re^2: MIME::Lite returns "SMTP Failed to connect to mail server: Bad file descriptor"
in thread MIME::Lite returns "SMTP Failed to connect to mail server: Bad file descriptor"

I recommend the second approach first, simply reading and understanding the module documentation. It explains the module defaults and what to do on Windows.