
String[] mailBcc = getReceiverArray(template.getDataValue("emailbcc"));
</BUG>
String mailType = template.getDataValue("emailtype");
<BUG>generateEmail(mailFrom, getReceiverArray(mailTo), mailCc, mailBcc, mailSubject, ownerContent.toString(), mailType);
</BUG>
}
}
} else {
if (notAvailable.size() > 0) {

template.setData("ownerlinkurl", (String)linknames.get(singleLink));
ownerContent.append(template.getProcessedDataValue("ownermail_link"));
}
String mailSubject = template.getProcessedDataValue("emailsubject");
String mailFrom = (String)emailValues.get("mailfrom");
List mailCc = getReceiverList(template.getDataValue("emailcc"));
List mailBcc = getReceiverList(template.getDataValue("emailbcc"));
String mailType = template.getDataValue("emailtype");
generateEmail(mailFrom, getReceiverList(mailTo), mailCc, mailBcc, mailSubject, ownerContent.toString(), mailType);
}
}
} else {
if (notAvailable.size() > 0) {
