CMSimple_XH 開発者ドキュメント
XH\Mail クラス

公開メンバ関数

 __construct ()
 
 isValidAddress ($address)
 
 setTo ($to)
 
 getSubject ()
 
 setSubject ($subject)
 
 setMessage ($message)
 
 addHeader ($name, $value)
 
 send ()
 

詳解

Mail.php28 行目に定義があります。

構築子と解体子

◆ __construct()

XH\Mail::__construct ( )

Initializes a new instance.

array The configuration of the core.

Mail.php70 行目に定義があります。

関数詳解

◆ addHeader()

XH\Mail::addHeader (   $name,
  $value 
)

Adds a header field.

引数
string$nameA header field name.
string$valueA header field value.
戻り値
void

Mail.php171 行目に定義があります。

◆ getSubject()

XH\Mail::getSubject ( )

Returns the encoded subject.

戻り値
string

Mail.php132 行目に定義があります。

◆ isValidAddress()

XH\Mail::isValidAddress (   $address)

Returns whether an email address is valid.

For simplicity we are not aiming for full compliance with RFC 5322. The local-part must be a dot-atom-text. The domain is checked with gethostbyname() after applying idn_to_ascii(), if the latter is available.

引数
string$addressAn email address.
戻り値
bool

Mail.php93 行目に定義があります。

◆ send()

XH\Mail::send ( )

Sends the email and return whether that succeeded.

戻り値
bool

Mail.php231 行目に定義があります。

◆ setMessage()

XH\Mail::setMessage (   $message)

Sets the message.

引数
string$messageA message.
戻り値
void

Mail.php156 行目に定義があります。

◆ setSubject()

XH\Mail::setSubject (   $subject)

Sets the Subject.

引数
string$subjectA subject.
戻り値
void

Mail.php144 行目に定義があります。

◆ setTo()

XH\Mail::setTo (   $to)

Sets the To address.

引数
string$toA valid email address.
戻り値
void

Mail.php122 行目に定義があります。


このクラス詳解は次のファイルから抽出されました: