用于生成批量假电子邮件以进行测试的黑客小工具。
USAGE:
fakemail [OPTIONS]
OPTIONS:
-a <ATTACH_DIR> Directory holding files to randomly attach to messages
-f <FORMAT> Output format (mbox, eml) [default: mbox]
-h, --help Print help information
-n <NUM> Number of emails to generate [default: 1]
-o <OUTPUT> Output file for mbox, dir for eml (defaults: stdout/cwd)
-V, --version Print version information
$ cargo install --git https://github.com/bcampbell/fakemail
将 10000 个电子邮件文件写入bob/INBOX/
:
$ fakemail -n 10000 -f eml -o bob/INBOX
将 10 封电子邮件 mbox 写入标准输出:
$ fakemail -n 10