anchor.diff:      }
   
       // Set var defaults
  -    User user = webManager.getUserManager().getUser("admin");
  +    Collection<JID> jids = webManager.getXMPPServer().getAdmins();
  +    User user = null;
  +    if (!jids.isEmpty()) {
  +        for (JID jid : jids) {
  +            if (webManager.getXMPPServer().isLocal(jid)) {
  +                user = webManager.getUserManager().getUser(jid.getNode());
  +                if (user.getEmail() != null) {
  +                    break;
  +                }
  +            }
  +        }
  +    }
       if (from == null) {
           from = user.getEmail();
       }
  
positive.code: <jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager"  />
  <% webManager.init(request, response, session, application, out ); %>
  
  <%	// Get paramters
      boolean doTest = request.getParameter("test") != null;
      boolean cancel = request.getParameter("cancel") != null;
      boolean sent = ParamUtils.getBooleanParameter(request,"sent");
      boolean success = ParamUtils.getBooleanParameter(request,"success");
      String from = ParamUtils.getParameter(request,"from");
      String to = ParamUtils.getParameter(request,"to");
      String subject = ParamUtils.getParameter(request,"subject");
      String body = ParamUtils.getParameter(request,"body");
  
      // Cancel if requested
      if (cancel) {
  
negative.code:     errorPage="error.jsp"
  %>
  <%@ page import="java.text.SimpleDateFormat"%>
  <%@ page import="org.xmpp.packet.JID" %>
  
  <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
  <%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
  