Curious George has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use Net::Msmgr::Session; use Net::Msmgr::User; use Net::Msmgr::Switchboard; use Net::Msmgr::Conversation; my $session = new Net::Msmgr::Session; my $user = Net::Msmgr::User->new( user=> 'test@hotmail.com', password => 'password' ) ; my $sb = Net::Msmgr::Switchboard->new(ssid => 1); my $ssid = $sb->ssid; my $message = qq{MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable Hi, This is a test message.}; my $conversation = Net::Msmgr::Conversation->new(session => $session, switchboard => $sb, email => {'somebody@hotmail.com'}); $session->user($user); $session->Login; print "Login Successful\n"; $conversation->send_message($conversation, $message);
I am just trying to create an msn session, create a conversation, add someone to my conversation, and message them. The message should pop-up in their msn messenger client.
janitored by ybiC: <code> tags, as per Monastery convention
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using the Net::Msmgr module
by Roger (Parson) on Nov 21, 2003 at 02:31 UTC | |
by Curious George (Initiate) on Nov 24, 2003 at 21:35 UTC |