WWW::Hotmail is a Perl module, a partial replacement for the gotmail script (http://ssl.usu.edu/paul/gotmail/), so if this doesn't do what you want, try that instead.
Create a new WWW::Hotmail object with new, and then log in with your MSN username and password with the login method.
SYNOPSIS
use WWW::Hotmail;
my $hotmail = WWW::Hotmail->new();
$hotmail->login('foo@hotmail.com', "bar")
or die $WWW::Hotmail::errstr;
my @msgs = $hotmail->messages();
die $WWW::Hotmail::errstr if ($!);
print "You have ".scalar(@msgs)." messages\n";
for (@msgs) {
print "messge from ".$_->from."\n";
# retrieve the message from hotmail
my $mail = $_->retrieve;
# deliver it locally
$mail->accept;
# forward the message
$mail->resend('myother@email.address.com');
# delete it from the inbox
$_->delete;
}
$hotmail->compose(
to => ['user@email.com','otheruser@otheremail.com'],
subject => 'Hello Person!',
body => q[Dear Person,
I am writing today to tell you about something important.
Thanks for all your support.
Sincerely,
Other Person
]) or die $WWW::Hotmail::errstr;
Product's homepage
Requirements:
· Perl