资源简介

使用Springboot 做定时发送邮件的deom 代码上有注解,输入自己的邮箱账号密码,可以直接运行。我设置的是每秒发送一次。

资源截图

代码片段和文件信息

package com.dh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
public class DemoTestApplication {

public static void main(String[] args) {
SpringApplication.run(DemoTestApplication.class args);
}

}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-24 15:34  testemail\
     文件         268  2018-12-24 14:52  testemail\.gitignore
     目录           0  2018-12-24 16:25  testemail\.idea\
     文件           9  2018-12-24 14:52  testemail\.idea\.name
     文件        1183  2018-12-24 14:56  testemail\.idea\compiler.xml
     目录           0  2018-12-24 14:52  testemail\.idea\copyright\
     文件          76  2018-12-24 14:52  testemail\.idea\copyright\profiles_settings.xml
     文件         215  2018-12-24 14:56  testemail\.idea\encodings.xml
     目录           0  2018-12-24 15:34  testemail\.idea\libraries\
     文件         514  2018-12-24 15:34  testemail\.idea\libraries\Maven__aopalliance_aopalliance_1_0.xml
     文件         583  2018-12-24 15:34  testemail\.idea\libraries\Maven__avalon_framework_avalon_framework_4_1_3.xml
     文件         568  2018-12-24 14:56  testemail\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xml
     文件         547  2018-12-24 14:56  testemail\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xml
     文件         522  2018-12-24 14:57  testemail\.idea\libraries\Maven__com_fasterxml_classmate_1_4_0.xml
     文件         644  2018-12-24 14:57  testemail\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml
     文件         595  2018-12-24 14:57  testemail\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_9_7.xml
     文件         623  2018-12-24 14:57  testemail\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_9_7.xml
     文件         674  2018-12-24 14:57  testemail\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_7.xml
     文件         688  2018-12-24 14:57  testemail\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_7.xml
     文件         729  2018-12-24 14:57  testemail\.idea\libraries\Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_7.xml
     文件         546  2018-12-24 14:56  testemail\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xml
     文件         700  2018-12-24 14:56  testemail\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
     文件         558  2018-12-24 15:34  testemail\.idea\libraries\Maven__commons_logging_commons_logging_1_1.xml
     文件         527  2018-12-24 15:34  testemail\.idea\libraries\Maven__javax_activation_activation_1_1.xml
     文件         611  2018-12-24 14:56  testemail\.idea\libraries\Maven__javax_annotation_javax_annotation_api_1_3_2.xml
     文件         475  2018-12-24 15:34  testemail\.idea\libraries\Maven__javax_mail_mail_1_4_7.xml
     文件         611  2018-12-24 14:57  testemail\.idea\libraries\Maven__javax_validation_validation_api_2_0_1_Final.xml
     文件         455  2018-12-24 14:56  testemail\.idea\libraries\Maven__junit_junit_4_12.xml
     文件         469  2018-12-24 15:34  testemail\.idea\libraries\Maven__log4j_log4j_1_2_12.xml
     文件         473  2018-12-24 15:34  testemail\.idea\libraries\Maven__logkit_logkit_1_0_1.xml
     文件         529  2018-12-24 14:56  testemail\.idea\libraries\Maven__net_bytebuddy_byte_buddy_1_9_5.xml
............此处省略85个文件信息

评论

共有 条评论