EC-CUBE
Public メソッド | 変数
クラス Mail_sendmail
Mail_sendmailに対する継承グラフ
Inheritance graph
[凡例]
Mail_sendmailのコラボレーション図
Collaboration graph
[凡例]

Public メソッド

 Mail_sendmail ($params)
 send ($recipients, $headers, $body)

変数

 $sendmail_path = '/usr/sbin/sendmail'
 $sendmail_args = '-i'

関数

Mail_sendmail ( params)

Constructor.

Instantiates a new Mail_sendmail:: object based on the parameters passed in. It looks for the following parameters: sendmail_path The location of the sendmail binary on the filesystem. Defaults to '/usr/sbin/sendmail'.

sendmail_args Any extra parameters to pass to the sendmail or sendmail wrapper binary.

If a parameter is present in the $params array, it replaces the default.

引数:
array$paramsHash containing any parameters different from the defaults. public
send ( recipients,
headers,
body 
)

Implements Mail::send() function using the sendmail command-line binary.

引数:
mixed$recipientsEither a comma-seperated list of recipients (RFC822 compliant), or an array of recipients, each RFC822 valid. This may contain recipients not specified in the headers, for Bcc:, resending messages, etc.
array$headersThe array of headers to send with the mail, in an associative array, where the array key is the header name (ie, 'Subject'), and the array value is the header value (ie, 'test'). The header produced from those values would be 'Subject: test'.
string$bodyThe full text of the message body, including any Mime parts, etc.
戻り値:
mixed Returns true on success, or a PEAR_Error containing a descriptive error message on failure. public

Mailを再定義しています。


このクラスの説明は次のファイルから生成されました:
 全て データ構造 ネームスペース 関数 変数