资源简介

java定时发送邮件

资源截图

代码片段和文件信息

package com.sunflower.maintest;

import org.quartz.SchedulerException;
import org.quartz.impl.StdScheduler;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathxmlApplicationContext;

/**
 * @author Caihanyuan
 * @time 2012-10-28 下午02:37:10
 */
public class SendMailTest {
public static void main(String[] args) {
ApplicationContext context = new ClassPathxmlApplicationContext(
“applicationContext.xml“);
StdScheduler scheduler = (StdScheduler) context.getBean(“scheduler“);

try {
scheduler.start();
}
catch (SchedulerException e) {
e.printStackTrace();
}
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        574  2012-10-28 16:26  sendmail2\.classpath

     文件        593  2012-10-28 16:26  sendmail2\.project

     文件        629  2012-10-28 16:26  sendmail2\.settings\org.eclipse.jdt.core.prefs

     文件        462  2012-10-28 16:26  sendmail2\.springBeans

     文件       1889  2012-10-28 16:26  sendmail2\bin\applicationContext.xml

     文件       1081  2012-10-28 16:26  sendmail2\bin\com\sunflower\maintest\SendMailTest.class

     文件        158  2012-10-28 16:26  sendmail2\bin\com\sunflower\service\SendMailService.class

     文件       2082  2012-10-28 16:26  sendmail2\bin\com\sunflower\serviceimp\SendMailServiceImp.class

     文件         82  2012-10-28 16:26  sendmail2\bin\mailhost.properties

     文件       1889  2012-10-28 16:26  sendmail2\src\applicationContext.xml

     文件        672  2012-10-28 16:26  sendmail2\src\com\sunflower\maintest\SendMailTest.java

     文件        168  2012-10-28 16:26  sendmail2\src\com\sunflower\service\SendMailService.java

     文件       1361  2012-10-28 16:26  sendmail2\src\com\sunflower\serviceimp\SendMailServiceImp.java

     文件         82  2012-10-28 16:26  sendmail2\src\mailhost.properties

     目录          0  2012-10-28 16:26  sendmail2\bin\com\sunflower\maintest

     目录          0  2012-10-28 16:26  sendmail2\bin\com\sunflower\service

     目录          0  2012-10-28 16:26  sendmail2\bin\com\sunflower\serviceimp

     目录          0  2012-10-28 16:26  sendmail2\src\com\sunflower\maintest

     目录          0  2012-10-28 16:26  sendmail2\src\com\sunflower\service

     目录          0  2012-10-28 16:26  sendmail2\src\com\sunflower\serviceimp

     目录          0  2012-10-28 16:26  sendmail2\bin\com\sunflower

     目录          0  2012-10-28 16:26  sendmail2\src\com\sunflower

     目录          0  2012-10-28 16:26  sendmail2\bin\com

     目录          0  2012-10-28 16:26  sendmail2\src\com

     目录          0  2012-10-28 16:26  sendmail2\.settings

     目录          0  2012-10-28 16:26  sendmail2\bin

     目录          0  2012-10-28 16:26  sendmail2\src

     目录          0  2012-10-28 16:26  sendmail2

----------- ---------  ---------- -----  ----

                11722                    28

............此处省略1个文件信息

评论

共有 条评论