SendMail
class SendMail
Properties
$to | |||
$subject | |||
$body | |||
$cc | |||
$bcc | |||
$replay_to | |||
$return_path | |||
$objMail |
Methods
void
__construct()
コンストラクタ
setRecip($key, $recipient)
No description
setTo($to, $to_name = '')
No description
setFrom($from, $from_name = '')
No description
setCc($cc, $cc_name = '')
No description
setBCc(string $bcc)
No description
setReplyTo(string $reply_to)
No description
setReturnPath($return_path)
No description
setSubject($subject)
No description
setBody($body)
No description
getNameAddress($name, $mail_address)
No description
setItem($to, $subject, $body, $fromaddress, $from_name, $reply_to = '', $return_path = '', $errors_to = '', $bcc = '', $cc = '')
No description
setItemHtml($to, $subject, $body, $fromaddress, $from_name, $reply_to = '', $return_path = '', $errors_to = '', $bcc = '', $cc = '')
No description
setBase($to, $subject, $body, $fromaddress, $from_name, $reply_to = '', $return_path = '', $errors_to = '', $bcc = '', $cc = '')
No description
getBaseHeader()
No description
getTEXTHeader()
No description
getHTMLHeader()
No description
array|string
getRecip()
メーラーバックエンドに応じた送信先を返す
boolean
sendMail($isHtml = false)
TXTメール送信を実行する.
boolean
sendHtmlMail()
HTMLメール送信を実行する.
array
getBackendParams(string $backend)
メーラーバックエンドに応じたパラメーターを返す.
Details
at line 48
void
__construct()
コンストラクタ
at line 76
setRecip($key, $recipient)
at line 82
setTo($to, $to_name = '')
at line 91
setFrom($from, $from_name = '')
at line 101
setCc($cc, $cc_name = '')
at line 114
setBCc(string $bcc)
at line 127
setReplyTo(string $reply_to)
at line 135
setReturnPath($return_path)
at line 141
setSubject($subject)
at line 148
setBody($body)
at line 160
setHost($host)
deprecated
deprecated
前方互換用
at line 177
setPort($port)
deprecated
deprecated
前方互換用
at line 194
getNameAddress($name, $mail_address)
at line 209
setItem($to, $subject, $body, $fromaddress, $from_name, $reply_to = '', $return_path = '', $errors_to = '', $bcc = '', $cc = '')
at line 214
setItemHtml($to, $subject, $body, $fromaddress, $from_name, $reply_to = '', $return_path = '', $errors_to = '', $bcc = '', $cc = '')
at line 231
setBase($to, $subject, $body, $fromaddress, $from_name, $reply_to = '', $return_path = '', $errors_to = '', $bcc = '', $cc = '')
at line 259
getBaseHeader()
at line 284
getTEXTHeader()
at line 293
getHTMLHeader()
at line 306
array|string
getRecip()
メーラーバックエンドに応じた送信先を返す
at line 327
boolean
sendMail($isHtml = false)
TXTメール送信を実行する.
設定された情報を利用して, メールを送信する.
at line 351
boolean
sendHtmlMail()
HTMLメール送信を実行する.
at line 362
array
getBackendParams(string $backend)
メーラーバックエンドに応じたパラメーターを返す.