I need to Change Subject Of Out Of Office Message through Java. At the same time I wish to enable Out of Office through java. I tried something by myself like this :
Document dc = db.getProfileDocument("OutOfOfficeProfile", s.getUserName());
Vector vc = dc.getItems();
for(int i=0;i<vc.size();i++){
Item it = (Item) vc.get(i);
System.out.println(it.toString()+":::::::>>>>>>"
+ dc.getItemValueString(it.toString()));
}
I got the Item names as :
$Name:::::::>>>>>>$profile_018outofofficeprofile_cn=sachin jain/o=tcsapp
$UpdatedBy:::::::>>>>>>CN=Sachin Jain/O=TCSAPP
$NoPurge:::::::>>>>>>
$ConflictAction:::::::>>>>>>2
I had searched for it a lot. I came across OutOfOffice Agent though Domino Designer. But I don't know how I can change the Subject and Body Of OOO Message and how can I enable it through Java?