*/
void createMail(Frame parent, Program[] program) {
final String param = mFormatting.getContentValue();// mSettings.getProperty("paramToUse",
// EMailPlugin.DEFAULT_PARAMETER);
final StringBuilder result = new StringBuilder();
ParamParser parser = new ParamParser();
int i = 0;
while (!parser.hasErrors() && (i < program.length)) {
String prgResult = parser.analyse(param, program[i]);
result.append(prgResult).append("\n\n");
i++;
}
if (parser.showErrors(UiUtilities.getLastModalChildOf(parent))) {
return;
}
mail(parent, result.toString(), parser.analyse(mFormatting.getTitleValue(), program[0]));
}