|
|
SendURL
(String TargetUIN, String URL, String Description)
throw Exception
|
|
| TargetUIN |
| Target UIN number |
| URL |
| URL |
| Description |
| Description Text |
|
| | Personalizer pers = null; |
| | Session sess = null; |
| | try{ |
| | //Create personalizer object and Session object |
| | pers = new Personalizer(); |
| | sess = pers.CreateSession("LogonName", "Password"); |
| | //Create ICQ Notification object |
| | ICQ objICQ = sess.CreateICQNotification(); |
| | objICQ.Logon("012345", "Password"); |
| | objICQ.Send("543210", "This is ICQ Notification Message"); |
| | objICQ.SendURL("543210", "www.acrosscommunications.com", "Take a look at my site"); |
| | objICQ.Disconnect(); |
| | objICQ.Release(); |
| | sess.Release(); |
| | } |
| | catch(Exception e){ |
| | //Print exception message e.Message |
| | System.out.println(e.Message); |
| | sess.Release(); |
| | } |