|
| SMS
CreateSMSNotification
()
throw Exception
|
|
| SMS notification object |
|
| | Personalizer pers = null; |
| | Session sess = null; |
| | try{ |
| | //Create personalizer object and Session object |
| | pers = new Personalizer(); |
| | sess = pers.CreateSession("LogonName", "Password"); |
| | //Create SMS Notification object |
| | SMS oSMS = sess.CreateSMSNotification(); |
| | ...; |
| | //Release SMS Notification object |
| | oSMS.Release(); |
| | sess.Release(); |
| | } |
| | catch(Exception e){ |
| | //Print exception message e.Message |
| | System.out.println(e.Message); |
| | sess.Release(); |
| | } |