Postman

CLI 工具,用于通过任何 SMTP 服务器批量发送电子邮件。「CLI tool for batch-sending email via any SMTP server.」

  • Owner: zachlatta/postman
  • Platform: Linux, Mac, Windows
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Postman

Postman 是一个 CLI 工具,用于通过任何 SMTP 服务器批量发送邮件(所以你可以将 Postman 与你个人的 Gmail、Amazon SES、Sendgrid 或其他任何你喜欢的东西一起使用)。

特性

  • 快速、模板化、大批量的电子邮件
  • 从 CSV 中读取模板属性
  • 可与任何 SMTP 服务器配合使用

为什么要比 cat | sed | sendmail < bcc distro_list 更重要?

  • 支持邮件中的文本和 HTML 部分
  • 模板在 Go 中的所有功能(条件等)。
  • 如果 BCC 中的邮件太多,一些 SMTP 供应商会抱怨(一般来说,>1000)。
  • 同时发送电子邮件

安装

$ go get github.com/zachlatta/postman

用法

$ postman [flags]

例子

$ postman -html template.html -text template.txt -csv recipients.csv \
    -sender "Zaphod Beeblebrox <zaphod@beeblebrox.com>" \
    -subject "Hello, World!" -server smtp.beeblebrox.com -port 587 \
    -user zaphod -password Betelgeuse123

template.html:

Hello, {{.Name}}! You are a {{.Type}}

template.txt:

Email,Name,Type
arthur@dent.com,Arthur Dent,Human
ford@prefect.com,Ford Prefect,Alien
martin@gpp.com,Martin,Robot
trillian@mcmillan.com,Trillian,Human

请查看(并为之贡献)wiki 上的用法页面 以了解更多细节。

许可证

tl;dr

The MIT License (MIT)

Copyright (c) 2014-2020 Zach Latta


Main metrics

Overview
Name With Ownerzachlatta/postman
Primary LanguageGo
Program languageGo (Language Count: 2)
PlatformLinux, Mac, Windows
License:
所有者活动
Created At2014-04-23 15:10:50
Pushed At2024-03-11 07:37:09
Last Commit At2022-12-28 19:58:53
Release Count1
Last Release Namev1.0 (Posted on )
First Release Namev1.0 (Posted on )
用户参与
Stargazers Count775
Watchers Count17
Fork Count50
Commits Count66
Has Issues Enabled
Issues Count21
Issue Open Count8
Pull Requests Count6
Pull Requests Open Count1
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

Postman

Features

  • Fast, templated, bulk emails
  • Reads template attributes from CSV
  • Works with any SMTP server
Why this over `cat