Install
xcsoft edited this page Jul 12, 2022
·
3 revisions
- 下载源码
git clone https://github.com/soxft/waline-async-mail && cd waline-async-mail
- 编译文件
go build -o waline_mailer main.go
- 修改并重命名配置文件: 编辑
config.example.yaml
并重命名为config.yaml
- 赋权
chmod +x waline_mailer
- 运行
./waline_mailer
支持通过消息队列控制发信频率, 消息队列采用 redis 实现, 修改 config.yaml 中的 Redis相关配置即可
模版文件位于 ~/templates