sendmail

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: MIT Imports: 6 Imported by: 0

README

sendmail

Build Status

sendmail是一个发送邮件的命令行小工具。

配置

将config.json.sample改名为config.json,填入相关信息。

{
    "MailSubject": "alarm mail", // 邮件主题,如报警邮件
    "MailServer": "smtp.exmail.qq.com:465", // 发送邮件服务器地址及端口,支持25|465|587
    "MailSender": "alarm@test.cn", // 发件人邮箱帐号
    "MailSenderPwd": "123456", // 发件人邮箱密码
    "MailReciver":"tech@test.cn;yunwei@test.cn" // 收件人,多个收件人用;分隔
}

使用

sendmail hello

Licence

Released under MIT license, see LICENSE for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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