Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johnniang/2019-ncov

2019-nCoV mail notification demo
https://github.com/johnniang/2019-ncov

Last synced: 10 days ago
JSON representation

2019-nCoV mail notification demo

Awesome Lists containing this project

README

        

# 数据来源

# 配置文件

程序可读取外部配置文件,这里默认读取 `~/.ncov/application.yml`。

```yml
spring:
mail:
# 邮箱发送方配置
host: smtp.xxx.com
username: [email protected]
password: openyouremail
protocol: smtp
properties.mail.smtp.auth: true
properties.mail.smtp.port: 465
properties.mail.smtp.starttls.enable: true
properties.mail.smtp.starttls.required: true
properties.mail.smtp.ssl.enable: true
properties.mail.display.sendname: xyz
default-encoding: utf-8
ncov:
# 邮箱接收方地址设置
to:
- [email protected] # 这里填写你需要接收消息的邮箱地址
- [email protected] # 同上
cron: 0/30 * * * * ? # 轮询数据的计划
```

# 项目来源

# 注意

强烈建议不要用 QQ 邮箱或者 Foxmail 邮箱,可能会面临 QQ 被封禁的风险。

正在尝试开发并对接 Telegram bot...