* @throws ActionException
*/
private void checkConfig(ActionInfo actionInfo) throws ActionException {
if(!(actionInfo instanceof MailActionInfo)){
String msg = intres.getLocalizedMessage("services.mailaction.erroractioninfo");
throw new ActionException(msg);
}
String senderAddress = properties.getProperty(PROP_SENDERADDRESS);
if(senderAddress == null || senderAddress.trim().equals("")){
String msg = intres.getLocalizedMessage("services.mailaction.errorsenderaddress");
throw new ActionException(msg);
}
}