What is the best way to send an email to the admin user from a JSP action class? I tried:
CustomerIf adminUser = kkAppEng.getAdminUser();
int adminId = adminUser.getId();
EmailOptionsIf options = new EmailOptions();
options.setFromAddress("admin@mystore.com");
options.setReplyToAddress("admin@mystore.com");
kkAppEng.getEng().sendTemplateEmailToCustomer1(adminId, "Test -- Alert from Action", options);
but the adminUser returned is null. I have an admin user defined in the konakartadmin application. Is there a better way to do tihs?