u-ichi / fluent-plugin-mail

Fluentd output plugin to send mail
https://rubygems.org/gems/fluent-plugin-mail
Other
48 stars 20 forks source link

set destination e-mail addrs via a record #33

Closed authorNari closed 8 years ago

authorNari commented 8 years ago

'to', 'cc', 'bcc' が流れてくるレコード内に存在したらそれを使うようにして、なければ設定ファイルに記述されているものを使うようにしてみました。

メールアドレスがN個存在していてかつDBに格納されているような場合に『この特定のエラーはこっちのメールアドレスに送る』みたいなことができて便利かなと思います。

sonots commented 8 years ago

I prefer key names to be configurable with config params such as to_key, cc_key, bcc_key.

Also, This feature should be enabled only if their corresponging parameters are configured.

authorNari commented 8 years ago

I see. How about it? ef6dbbe97b

authorNari commented 8 years ago

Ah, that's right. Thanks for your advice. I fixed it c07a4b2

sonots commented 8 years ago

Thanks

sonots commented 8 years ago

fixed a bit > https://github.com/u-ichi/fluent-plugin-mail/commit/bcc95febe8738fecdba945d356c7bc79833de8c2

sonots commented 8 years ago

Released 0.2.4

authorNari commented 8 years ago

Thanks :bow: