Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

send message to IM from perl

by dba (Monk)
on Jun 25, 2004 at 15:03 UTC ( #369632=perlquestion: print w/replies, xml ) Need Help??

dba has asked for the wisdom of the Perl Monks concerning the following question:

Dear monks,
After my unsuccessful attempt to send IM to Yahoo Messenger from perl, Iam wondering if there are any monks who are able to send IM to (MSN/AIM/other) from a perl script.

Replies are listed 'Best First'.
Re: send message to IM from perl
by stvn (Monsignor) on Jun 25, 2004 at 15:07 UTC

    I have successfully used both Net::AIM and Net::Oscar in the past to create simple IM bots. One of those might do the trick.

Re: send message to IM from perl
by eric256 (Parson) on Jun 25, 2004 at 15:14 UTC

    I've used Net::AIM, Net::OSCAR, and the MSN module from oh and of course Jabber using Net::Jabber, which isn't well documented (at least last i checked) but if you follow the samples for any of the above you should be able to get it working.

    Eric Hodges
Re: send message to IM from perl
by gawatkins (Monsignor) on Jun 25, 2004 at 15:38 UTC

    Here is something else that might be causing your issue with Yahoo Messenger, Yahoo to Trillian: Talk to the hand. This also knocked our corporate Jabber connection to Yahoo due to the protocol change.

    Greg W
Re: send message to IM from perl
by castaway (Parson) on Jun 25, 2004 at 16:54 UTC

    I'm currently using Net::OSCAR (AIM/ICQ) and Net::MSN (which Ive already fiddled with some, as its kind of half-written), daily.


      Thank you Monks. I will use Net::AIM.
      - dba
        With requests about identifying IP address of a router and trying to use IM, you probably know that Iam trying to get somewhere.

        Just wanted to update monks that with your help, I completed my work.

        My problem: I need to know the dynamic IP address at my home router assigned by ISP.

        Solution: I don't have a webserver to log the IP address. I want to have it just when I want it. I finally have a working perl script which runs like a daemon on my home machine. It connects to AOL as user A and waits. When I login to AIM as user B from whereever Iam working/travelling and send IM to user A, I will receive my IP address as IM sent by user A
        Thanks again to all the monks.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://369632]
Approved by stvn
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2021-09-19 09:16 GMT
Find Nodes?
    Voting Booth?

    No recent polls found