Skip to content

unimails/unimail-java-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unimail-java-starter

unimail-client 的 spring boot 官方依赖

用法

  1. 引入依赖
<dependency>
    <groupId>space.i-curve</groupId>
    <artifactId>spring-boot-starter-unimail</artifactId>
    <version>0.0.3</version>
</dependency>
  1. 设置key

application.yml

unimail:
  key: xxx
  1. 使用UnimailService
import org.springframework.beans.factory.annotation.Autowired;
import spring.i_curve.UnimailService;

@Autowired
private UnimailService unimailService;

void test() {
    unimailService.sendEmail("email", "title", "content");
}

LICENSE

BSD 3-Clause License

About

spring boot package for unimail client

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages