From: TADA T. <sh...@sp...> - 2002-10-28 15:04:07
|
ただです。 On Mon, 28 Oct 2002 21:02:39 +0900 Masao Mutoh <mu...@hi...> wrote: >・misc/mail-*.rbって、プラグイン化できたらいいなぁ >・他のプラグインからメール出すときに上記の > メソッドを呼び出せたらいいなぁ mail-via-*.rbは、tDiaryな日記を提供しているサイト管理者が、自分のホ ストの環境にあわせてconfigurationをするためのものなので、ユーザの便宜 を図る意図のものではありません。Socketを使うことからsecureモードでは動 きませんから、プラグイン化はできないんです。 と、ここまでは歴史の話(笑)。 プラグインの中からメールを出せるようにしたいというニーズがあるのなら、 そういうプラグインを書いて、他のプラグインと一緒に使うようにしてもらえ ばいいのではないでしょうか。今のTDiaryComment::sendmailはツッコミに依 存しているので、Subjectなどが自由になりませんし。もちろんinsecureモー ドでしか使えませんけど、そういう割り切りをすれば、汎用的なものが書ける のでは。 ━━━━━━━━━━━━━━━━━━━ ただただし <http://www.spc.gr.jp/sho/> ♪ツッコミは、短く鋭く、愛をこめて ━━━━━━━━━━━━━━━━━━━ |