Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 590 Bytes

README_en.md

File metadata and controls

19 lines (16 loc) · 590 Bytes

gomail

mail sender using redis as data storage written by go(golang.org)

Install

Install statgo first, Visit https://github.com/akhenakh/statgo for details

go get githuc.com/baiyuxiong/gomail
cd $GOPATH/src/githuc.com/baiyuxiong/gomail
bower install
go run gomain.go

Config

cfg.json

  • httpAddress: Http address for web
  • sender: Mail send method, can be "smtp" or "sendcloud"
  • jobKey: List key in redis, used as "BRPOP $jobKey 0" to get mail task from redis
  • logKey: List key in redis, used as "LPUSH $logKey %log%" to put mail log in redis, will be show in web page