sender.setSubject(title);
          sender.setSendDate(new Date());
          sender.setMailContent(notify_content);
          sender.setMailTo(new String[] { rbean.getDiary().getOwner()
              .getContactInfo().getEmail() }, "to");
          MailTransportQueue queue = (MailTransportQueue) getServlet()
              .getServletContext().getAttribute(
                  Globals.MAIL_QUEUE);
          // д��������ʼ�����
          queue.write(site_id, sender
              .getMimeMessage());
          if(log.isDebugEnabled())
            log.debug("Notification mail was written to the sending queue.");
        } catch (Exception e) {
          log.error("send notification mail failed.", e);