コンストラクタ Net_SMTP::Net_SMTP

コンストラクタ Net_SMTP::Net_SMTP() – 新しい Net_SMTP オブジェクトを生成する。パラメータを 設定することで、ネットワーク設定を上書きする

Synopsis

require_once 'NET/SMTP.php';

void constructor Net_SMTP::Net_SMTP ( string $host = = null , int $port = = null , string $localhost = = null )

Description

新しい Net_SMTP オブジェクトを生成するコンストラクタです。

Parameter

string $host

接続先サーバ

integer $port

接続先ポート

string $localhost

EHLO あるいは HELO を送信する際に用いられる値

Throws

throws 例外は発生しません。

Note

This function can not be called statically.