Tripletail::Sendmail::Smtp - SMTP メール送信


Tripletail documentation  | view source Contained in the Tripletail distribution.

Index


NAME

Top

Tripletail::Sendmail::Smtp - SMTP メール送信

DESCRIPTION

Top

指定されたsmtpサーバーに向けてメールを送信する。

送信先ドメインのMXレコードを引いて直接送信するのではない。

METHODS

new
disconnect
send

Tripletail::Sendmail 参照。

setTimeout
  $smail->setTimeout($timeoutsec)

タイムアウトまでの秒数を設定する。

connect
  $smail->connect($host)

メール送信先に接続を行い、sendメソッドの準備を整える。

$host が指定されなかった場合は、 ini ファイルの設定が使用される。 ini ファイルにも設定がない場合は、 localhost となる。

Ini パラメータ

timeout
  timeout = 1 min

タイムアウト秒数。度量衡 参照。省略可能。 デフォルトは 300 sec

host
  host = localhost

接続先ホスト。省略可能。 デフォルトは localhost 。

SEE ALSO

Top

Tripletail
Tripletail::Sendmail

AUTHOR INFORMATION

Top

Copyright 2006 YMIRLINK Inc.

This framework is free software; you can redistribute it and/or modify it under the same terms as Perl itself

このフレームワークはフリーソフトウェアです。あなたは Perl と同じライセンスの 元で再配布及び変更を行うことが出来ます。

Address bug reports and comments to: tl@tripletail.jp

HP : http://tripletail.jp/


Tripletail documentation  | view source Contained in the Tripletail distribution.