# spring-boot-mail
**Repository Path**: xiongshx/spring-boot-mail
## Basic Information
- **Project Name**: spring-boot-mail
- **Description**: 邮件发送服务,文本、附件、模版多种实现,队列,线程定时任务功能
- **Primary Language**: Java
- **License**: GPL-2.0
- **Default Branch**: master
- **Homepage**: http://blog.52itstyle.com
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 937
- **Created**: 2017-08-08
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#spring-boot-mail
邮件发送服务,文本,附件,模板,队列,多线程,定时任务实现多种功能!!!
[SpringBoot开发案例之整合mail发送服务](https://blog.52itstyle.com/archives/1264/)
##开发环境
JDK1.7、Maven、Eclipse、SpringBoot1.5.2、spring-boot-starter-mail、spring-boot-starter-thymeleaf,spring-boot-starter-freemarker
##流程图
###平台架构

###邮件队列

##欢迎关注
.jpg")
##友情提示
由于工作原因,项目正在完善中,随时更新日志,有疑问请留言或者加群
- JAVA爱好者①:
(满)
- JAVA爱好者②:
- JAVA爱好者③:
##项目结构

- 普通文本发送
- 富文本发送(图片、附件)
- freeMarker模版发送邮件
- thymeleaf模版发送邮件
#评测生成模版时间对比(1000次循环)
- Thymeleaf用时:2686ms
- Freemarker用时:498ms
对比测试,建议使用Freemarker模版
#20170721
- 加入DubboX对外提供发送服务
- 加入定时任务统计失败邮件定时重新发送
- 多环境配置文件实现

作者: 小柒2012
欢迎关注: https://blog.52itstyle.com