It is a tool to convert HITTP request to SMTP message.
It is another version of https://sct.ftqq.com/sendkey. It uses the similar HTTP interface, but instead of wechat notification, it sends the message to SMTP as email. We can configure the QQ mail in the wechat. https://service.mail.qq.com/cgi-bin/help?id=47&no=1000974&subtype=1
The configuration file is located under the followings:
config/httpmail.json
These allowed tokens are accepted.
"tokens": ["abc","abc2"]
"http": {
"port": 4000,
"host": "127.0.0.1",
"ssl": {
"enabled": false,
"cert": "",
"key": ""
}
}
NOTE:
"smtp": {
"ssl": true,
"server": "smtp.qq.com",
"user": "[email protected]",
"pass": "xxxxxxxxxx",
"from": "[email protected]",
"to": "[email protected]"
}
pip install -r requirements.txt
python server.py
https://<host>/<token>.send?title=messagetitle&desp=messagecontent&sender=senderId
NOTE:
docker run -p 127.0.0.1:3333:3333/tcp -v <config folder>:/app/config -v <logs folder>:/app/log
Content type
Image
Digest
Size
45.6 MB
Last updated
about 5 years ago
docker pull darkmagician/httpmail