m.addAttachment(f, entry.getKey() + "." + UtilMethods.getFileExtension(f.getName()));
}
}
}
if (m.sendMessage()) {
// there is an auto reply, send it on
if ((UtilMethods.isSet((String)getMapValue("autoReplyTemplate", parameters)) ||
UtilMethods.isSet((String)getMapValue("autoReplyText", parameters)))
&& UtilMethods.isSet((String)getMapValue("autoReplySubject", parameters))