Thanks for your reply Roger,

I did as you said but still no luck. I don't get any error
messages but I do not get an instant message in my msn
console either. Here is my code:

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 => 'somebody@hotmail.com', password => 'password' ) ;
my $server_url = 'messenger.hotmail.com';
my $sb = Net::Msmgr::Switchboard->new(ssid => 1, nserver => $server_url, nsport => 1863, name => 'Channel 1', session => $session);
$sb->connect; # open the connection

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 => {'someuser@hotmail.com'});
$session->user($user);
$session->Login;
$conversation->send_message($conversation, $message);

#---END CODE---

The documentation says that the message sent must be in mime format, which my message is in.

Thanks for your time.

In reply to Re: Re: Using the Net::Msmgr module by Curious George
in thread Using the Net::Msmgr module by Curious George

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.