}
} // end while (mocIter.hasNext())
} // end if (attendeeVO.getContactID() != actVO.getOwner())
} // end while (attendeesIter.hasNext())
EmailSettingsLocalHome emailSettingsHome = (EmailSettingsLocalHome)ic.lookup("local/EmailSettings");
EmailSettingsLocal emailSettingsRemote = (EmailSettingsLocal)emailSettingsHome.create();
emailSettingsRemote.setDataSource(dataSource);
// get the template definition from the database. Some of it is dynamically configured by
// the Administrator, and some of it is dynamically replaced here
EmailTemplateForm activityTemplateForm = emailSettingsRemote.getEmailTemplate(AdministrationConstantKeys.EMAIL_TEMPLATE_ACTIVITES);
// Subject