View Single Post
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#64
Originally Posted by grog View Post
Anyway, I think I've gotten us far enough off topic. I'll pick this up in other threads if I get ambitious enough. Thanks for the help.
Ok, I can't resist

Originally Posted by anthony_barker View Post
Here is a perl script to send a Jabber message (gmail/facebook)

http://www.scribd.com/doc/2074991/Ho...ages-to-jabber
That's specific example for a syslog monitor, but it did lead me to sendxmpp, which seems exactly what I'd need. I checked jabber.org & they're closed for registration, but it is mentioned that I'd be able to send to a Gtalk account. So that lead me to this simple howto:

1. make sure that you are using latest sendxmpp (I have sendxmpp 1.20)

2. add your Google Talk account info to the .sendxmpprc file:
your_name@gmail.com;talk.google.com your_password

3. use the following command to send message to Google Talk user someone@gmail.com:
$ echo "GTalk test" | sendxmpp -t -u your_name -o gmail.com someone

Example:
.sendxmpprc: john@gmail.com;talk.google.com password

$ echo "GTalk test" | sendxmpp -t -u john -o gmail.com someone
Which doesn't give an error, but how do I get the message to my phone? I created a new IM account using the gmail address that I sent the message to, but what now?

TX
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 

The Following User Says Thank You to grog For This Useful Post: