
pigeon send-bulk \
sender@your-domain.com \
--receiver-query "select email from user where newsletter_confirmed = true" \
--message-file "message.yaml" \
--display \
--assume-yes
> Display query result: shape: (4, 1)
+------------------------------+
| email |
| --- |
| str |
+==============================+
| "marie@curie.com" |
+------------------------------+
| "alexandre@grothendieck.com" |
+------------------------------+
| "emmy@noether.com" |
+------------------------------+
| "elie@cartan.com" |
+------------------------------+
> Sending email to 4 receivers ...
marie@curie.com ... ok
alexandre@grothendieck.com ... ok
emmy@noether.com ... ok
elie@cartan.com ... ok
# You can leave EITHER the text OR the html empty, but not both. Ideally, fill out both.
# You MUST provide a subject. Personalize message by wrapping variables in curly brackets, eg. {firstname}.
message:
# The subject of your email
subject: "Test subject"
# The plaintext version
text: "This is a test message (plaintext)."
# The html version
html: "This is a test message (html)."
cargo install [options] crate...
cargo uninstall [options] [spec...]
cargo tree [options]
cargo search [options] [query...]
cargo edit
cargo +nightly udeps
cargo expand
cargo tarpaulin
cargo audit
cargo deny

From 日报小组 长琴
原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。