gomail

command module
v0.0.0-...-a9dd071 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2015 License: MIT Imports: 10 Imported by: 0

README

gomail

使用go语言编写的邮件发送器,读取redis list中的数据发送邮件。提供WEB页面查看发送日志。

Doc in English click here

安装

首先安装statgo,参考: https://github.com/akhenakh/statgo

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

配置

cfg.json

  • httpAddress: 查看邮件日志的WEB地址
  • username: 登录用户名
  • password: 登录密码
  • sender: 邮件发送方式,支持"smtp"或者"sendcloud"
  • jobKey: redis中的读取邮件记录的LIST名称,通过"BRPOP $jobKey 0" 的方式使用
  • logKey: redis中存取邮件发送日志的LIST名称,通过"LPUSH $logKey %log%"方式存入日志

截图

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL