|
Mail
(String ID)
throw Exception
|
|
ID |
Mail Object ID |
|
| Personalizer pers = null; |
| Session sess; |
| //It is assumed the Session object has been created before and has not been released |
| try{ |
| //Create personalizer object |
| pers = new Personalizer(); |
| //Create Mail Notification object using saved Mail object ID (see GetID method) |
| //It is supposed the object was not released and exists on the server |
| String mID = "586e239512cc4630919f651f2e568fb2" ; |
| Mail objMail = new Mail(mID); |
| ...; |
| sess.Release(); |
| } |
| catch(Exception e){ |
| //Print exception message e.Message |
| System.out.println(e.Message); |
| sess.Release(); |
| } |