* @throws ServletException
*/
protected void initParams() throws ServletException{
sender = getInitParameter("sender");
if(StringUtils.isEmpty(sender))
throw new ServletException("Parameter sender is required.");
mail_queue_path = getInitParameter("mail-queue-path");
if(StringUtils.isEmpty(mail_queue_path))
throw new ServletException("Parameter mail-queue-path is required.");
else{
if(mail_queue_path.startsWith(Globals.LOCAL_PATH_PREFIX)){
mail_queue_path = mail_queue_path.substring(Globals.LOCAL_PATH_PREFIX.length());
}
else if(mail_queue_path.startsWith("/")){