Package com.liusoft.dlog4j

Examples of com.liusoft.dlog4j.MailTransportQueue


              null, null);
          sender.setSubject(title);
          sender.setSendDate(new Date());
          sender.setMailContent(mail_content);
          sender.setMailTo(s_mails, "to");
          MailTransportQueue queue = (MailTransportQueue) getServlet()
              .getServletContext().getAttribute(
                  Globals.MAIL_QUEUE);
          // д��������ʼ�����
          queue.write(pbean.getSite().getId(), sender
              .getMimeMessage());
          if(log.isDebugEnabled())
            log.debug("Photo share mail was written to the sending queue.");
        } catch (Exception e) {
          log.error("send photo share mail failed.", e);
View Full Code Here


          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);
View Full Code Here

          sender.setSubject(title);
          sender.setSendDate(new Date());
          sender.setMailContent(notify_content);
          sender.setMailTo(new String[] { ubean
              .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);
        }
View Full Code Here

TOP

Related Classes of com.liusoft.dlog4j.MailTransportQueue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.