Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

send message to IM from perl

by dba (Monk)
on Jun 25, 2004 at 15:03 UTC ( [id://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.
Thanks,
dba

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.

    -stvn
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 Bot-depot.com 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.


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

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

    C.

      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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-20 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found