// disabled for now
return;
}
try {
PageContext pc = (PageContext) renderContext;
Email mail = new Email("plightbo@gmail.com");
mail.setFrom("cvs@webwork.dev.java.net");
mail.setFromName("OpenSymphony Wiki");
mail.setSubject("Bad Snippet");
String append = "";
if (e != null) {
msg = "Exception: " + e.getMessage();
StringWriter writer = new StringWriter();
e.printStackTrace(new PrintWriter(writer));
append = writer.toString();
}
mail.setBody(msg + ":\n" +
"\n" +
" Page: " + "http://wiki.opensymphony.com" + pc.getEntity().getUrlPath() + "\n" +
" URL: " + url + "\n" +
" ID: " + id + "\n" +
"\n" +
append);