misc/plugin/comment_mail-smtp.rb in tdiary-4.0.5.1 vs misc/plugin/comment_mail-smtp.rb in tdiary-4.1.0
- old
+ new
@@ -25,10 +25,10 @@
# @options['comment_mail.smtp_port']
# それぞれ、メール送信に使うSMTPサーバのホスト名とポート番号。
# 無指定時はそれぞれ「'localhost'」と「25」。
#
# Copyright (c) 2003 TADA Tadashi <sho@spc.gr.jp>
-# You can distribute this file under the GPL.
+# You can distribute this file under the GPL2 or any later version.
#
def comment_mail( text, to )
begin
require 'net/smtp'
host = @conf['comment_mail.smtp_host'] || 'localhost'