File: ping.ft

package info (click to toggle)
freetalk 0.5-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 792 kB
  • ctags: 361
  • sloc: sh: 3,426; ansic: 2,172; lisp: 816; makefile: 93
file content (13 lines) | stat: -rwxr-xr-x 290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/freetalk -s
!#

(ft-set-jid! "anand.avati@gmail.com")
(ft-set-server! "talk.google.com")
(ft-set-password! "f00b4r")
(ft-set-sslconn! 1)

(if (ft-login-blocking)
   (begin
     (ft-send-message "vikasgp@gmail.com" "ping")
     (ft-disconnect))
   (display "Could not connect\n"))