boolean setHTMLBody (
string $data
, boolean $isfile
= = false
)
メッセージのHTML部分を設定します。
string $data - The text to set or, if $isfile is TRUE a valid filename. An URL as argument is not allowed.
boolean $isfile - If TRUE, the content of given file $data is used as message text.
boolean - Returns TRUE on success, PEAR_Error on failure.
| エラーコード | エラーメッセージ | 原因 | 解決 |
|---|---|---|---|
| NULL | "ファイル file_name が読み込めない" | ファイルが見つからないか、 スクリプトのファイルへのアクセス権限が足りません。 | ファイル名とパスを確認します。ユーザーとファイルパーミッションを確認します。 |
| NULL | "file_name を開くことができない" | The file is already opened and exclusivly locked by another application. | In the most cases a programm opens the file for writing. setHTMLBody() does no file locking, so this problem is not caused by competitve callings of this function. |
This function can not be called statically.
NPO法人とはという基本的内容から実際のNPO法人設立まで広くお手伝いいたします。これからNPO法人をお考えの方はオススメ。NPO法人とはNon Profit Organizationの略であり、特定非営利活動法人を指します。法人なので当然に登記され、独立した人格として活動ができるようになります。