Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/johnniang/2019-ncov
- Owner: JohnNiang
- Created: 2020-01-25T03:49:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-16T00:40:42.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T20:57:53.458Z (over 1 year ago)
- Language: Java
- Size: 63.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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...