"<br/><a href=\"" + rootUrl + "social/community/requestresponse/"+cap.get_id().toString() + "/true\">Accept</a> " +
"<a href=\"" + rootUrl + "social/community/requestresponse/"+cap.get_id().toString() + "/false\">Deny</a>";
SendMail mail = new SendMail(new PropertiesManager().getAdminEmailAddress(), toAddresses, subject, body);
if (mail.send("text/html"))
{
rp.setResponse(new ResponseObject("Join Community",true,"Joined community successfully, awaiting owner approval"));
rp.setData(new CommunityApprovalPojo(false));
}
else