command
module
Version:
v0.0.0-...-46a3b65
Opens a new window with list of versions in this module.
Published: Mar 25, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
<一键发送周报> 为了大家方便使用,已经编译好mac下和win的可执行二进制文件
使用
根据以下数据结构 填写对应信息
type Mail struct {
FileNameDir string // 文件绝对路径
Title string // 标题
UserName string // 用户名
Point int // 开放端口(不要修改)
TeamTitle string // 项目组名称
Auth string // 作者 -> 邮件别名 对应excel中作者
PassWord string // 密码 -> 这里需要 smtp 授权码
SendTo string // 发送目标
CopyTo []string // 抄送目标
Host string // 发送目标域
StartTime string // 周报开始时间 栗子: 2019-05-12(不可以使用/来区分)
EndTime string // 周报结束时间 栗子: 2019-05-12(不可以使用/来区分)
Content string // 周报主要内容
NextWeeklyContent string // 下周内容
}
163邮箱开启授权码(以上PassWord获取方法)
- 修改
email.config.json中对应内容
- 执行
./weekly
(未编译32位, 如有需要自行编译或者联系作者)请配置号环境自己编译
可以源码运行 , 也可以编译后运行
地址
Mac 下编译 Linux 和 Windows 64位可执行程序
- CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build main.go
- CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.