Hi, I run ActiveState's ActivePerl on my Windows 7 box. I just installed the MIME::Lite module using the PPM (Perl Package Manager). The installation went fine.
However, as I try to run a very simple script
use strict;
use MIME::Lite;
my $msg = MIME::Lite->new(
From => '[email protected]',
To => '[email protected]',
Subject => "Mail Test",
Data => "Test Test!!",
);
$msg->send;
I got this error:
SMTP Failed to connect to mail server: at C:\...\mail_test.pl line 10
Does that mean I need to install a 3rd party mail server on my windows? Or can I configure the script and/or windows to make it work without new installation? In particular, I do not run outlook on that machine. Thx!