$AltBody --屬性 出自:PHPMailer : $AltBody 文件:class.phpmailer .php 說(shuō)明:該屬性的設(shè)置是在郵件正文不支持HTML的備用顯示

AddAddress --方法 出自:PHPMailer ::AddAddress(),文件:class.phpmailer .php 說(shuō)明 " /> 国产精品91久久久久,av超碰,操操操操操操操操操操操操操操

中文字幕日韩一区二区_国产一区二区av_国产毛片av_久久久久国产一区_色婷婷电影_国产一区二区精品

PHPMailer 中文使用說(shuō)明小結(jié)

A開(kāi)頭:

$AltBody --屬性
出自:phpMailer : $AltBody
文件:class.phpmailer .php
說(shuō)明:該屬性的設(shè)置是在郵件正文不支持HTML的備用顯示

AddAddress --方法
出自:phpMailer ::AddAddress(),文件:class.phpmailer .php
說(shuō)明:增加收件人。參數(shù)1為收件人郵箱,參數(shù)2為收件人稱(chēng)呼。例AddAddress("to@163.com","to name"),但參數(shù)2可選,AddAddress(to@163.com )也是可以的。
函數(shù)原型:public function AddAddress($address, $name = '') {}

AddAttachment --方法
出自:phpMailer ::AddAttachment()
文件:class.phpmailer .php
說(shuō)明:增加附件。
參數(shù):路徑,名稱(chēng),編碼,類(lèi)型。其中,路徑為必選,其他為可選
函數(shù)原型:
AddAttachment($path, $name = '', $encoding = 'base64', $type = 'application/octet-stream'){}

AddBCC --方法
出自:phpMailer ::AddBCC()
文件:class.phpmailer .php
說(shuō)明:增加一個(gè)密送。抄送和密送的區(qū)別請(qǐng)看[SMTP發(fā)件中的密送和抄送的區(qū)別 ] 。
參數(shù)1為地址,參數(shù)2為名稱(chēng)。注意此方法只支持在win32下使用SMTP,不支持mail函數(shù)
函數(shù)原型:public function AddBCC($address, $name = ''){}

AddCC -- 方法
出自:phpMailer ::AddCC()
文件:class.phpmailer .php
說(shuō)明:增加一個(gè)抄送。抄送和密送的區(qū)別請(qǐng)看[SMTP發(fā)件中的密送和抄送的區(qū)別 ] 。
參數(shù)1為地址,參數(shù)2為名稱(chēng)注意此方法只支持在win32下使用SMTP,不支持mail函數(shù)
函數(shù)原型:public function AddCC($address, $name = '') {}

AddCustomHeader --方法
出自:phpMailer ::AddCustomHeader()
文件:class.phpmailer .php
說(shuō)明:增加一個(gè)自定義的E-mail頭部。
參數(shù)為頭部信息
函數(shù)原型:public function AddCustomHeader($custom_header){}

AddEmbeddedImage -- 方法
出自:phpMailer ::AddEmbeddedImage()
文件:class.phpmailer .php
說(shuō)明:增加一個(gè)嵌入式圖片
參數(shù):路徑,返回句柄[,名稱(chēng),編碼,類(lèi)型]
函數(shù)原型:public function AddEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = 'application/octet-stream') {}
提示:AddEmbeddedImage(PICTURE_PATH. "index_01.jpg ", "img_01 ", "index_01.jpg ");
在html中引用<img src= "cid:img_01 ">

AddReplyTo --方法
出自:phpMailer :: AddReplyTo()
文件:class.phpmailer .php
說(shuō)明:增加回復(fù)標(biāo)簽,如"Reply-to"
參數(shù)1地址,參數(shù)2名稱(chēng)
函數(shù)原型:public function AddReplyTo($address, $name = '') {}

AddStringAttachment -方法
出自:phpMailer :: AddStringAttachment()
文件:class.phpmailer .php
說(shuō)明:增加一個(gè)字符串或二進(jìn)制附件(Adds a string or binary attachment (non-filesystem) to the list.?)
參數(shù):字符串,文件名[,編碼,類(lèi)型]
函數(shù)原型:public function AddStringAttachment($string, $filename, $encoding = 'base64', $type = 'application/octet-stream') {}

Authenticate --方法
出自:SMTP::Authenticate()
文件:class.smtp.php
說(shuō)明:開(kāi)始SMTP認(rèn)證,必須在Hello()之后調(diào)用,如果認(rèn)證成功,返回true,
參數(shù)1用戶(hù)名,參數(shù)2密碼
函數(shù)原型:public function Authenticate($username, $password) {}

B開(kāi)頭

$Body --屬性
出自:phpMailer : $Body
文件: class.phpmailer .php
說(shuō)明:郵件內(nèi)容,HTML或Text格式

C開(kāi)頭

$CharSet --屬性
出自:phpMailer : $CharSet
文件:class.phpmailer .php
說(shuō)明:郵件編碼,默認(rèn)為iso-8859-1

$ConfirmReadingTo --屬性
出自:phpMailer : $ConfirmReadingTo 文件class.phpmailer .php
說(shuō)明:回執(zhí)?

$ContentType --屬性
出自:phpMailer : $ContentType
文件: class.phpmailer .php
說(shuō)明:文檔的類(lèi)型,默認(rèn)為"text/plain"

$CRLF --屬性
出自:phpMailer : $ContentType
文件:class.phpmailer .php
說(shuō)明:SMTP回復(fù)結(jié)束的分隔符(SMTP reply line ending?)

class.phpmailer .php --對(duì)象
出自:class.phpmailer .php
文件: class.phpmailer .php
說(shuō)明:phpmailer 對(duì)象

class.smtp.php --對(duì)象
出自:class.smtp.php 文件: class.smtp.php
說(shuō)明:SMTP功能的對(duì)象

ClearAddresses --方法
出自:phpMailer ::ClearAddresses()
文件: class.phpmailer .php
說(shuō)明:清除收件人,為下一次發(fā)件做準(zhǔn)備。返回類(lèi)型是void

ClearAllRecipients --方法
出自:phpMailer ::ClearAllRecipients()
文件: class.phpmailer .php
說(shuō)明:清除所有收件人,包括CC(抄送)和BCC(密送)

ClearAttachments --方法
出自:phpMailer ::ClearAttachments()
文件: class.phpmailer .php
說(shuō)明:清楚附件

ClearBCCs --方法
出自:phpMailer ::ClearBCCs() 文件 class.phpmailer .php
說(shuō)明:清楚BCC (密送)

ClearCustomHeaders --方法
出自:phpMailer ::ClearCustomHeaders()
文件: class.phpmailer .php
說(shuō)明:清楚自定義頭部

ClearReplyTos --方法
出自:phpMailer ::ClearReplyTos()
文件: class.phpmailer .php
說(shuō)明:清楚回復(fù)人

Close --方法
出自:SMTP::Close()
文件: class.smtp.php
說(shuō)明:關(guān)閉一個(gè)SMTP連接

Connect --方法
出自:SMTP::Connect()
文件: class.smtp.php
說(shuō)明:建立一個(gè)SMTP連接Mailer.html

$ContentType --屬性
出自:phpMailer : $ContentType
文件: class.phpmailer .php
說(shuō)明:文檔的類(lèi)型,默認(rèn)為"text/plain"

D開(kāi)頭
$do_debug --屬性
出自:SMTP: $do_debug
文件:class.smtp.php
說(shuō)明:SMTP調(diào)試輸出

Data -方法
出自:SMTP: $Data()
文件:class.smtp.php
說(shuō)明:向服務(wù)器發(fā)送一個(gè)數(shù)據(jù)命令和消息信息(sendsthemsg_datatotheserver)

E開(kāi)頭

$Encoding --屬性
出自:phpMailer : $Encoding
文件:class.phpmailer .php
說(shuō)明:設(shè)置郵件的編碼方式,可選:"8bit","7bit","binary","base64",和"quoted-printable".

$ErrorInfo --屬性
出自:phpMailer : $ErrorInfo
文件:class.phpmailer .php
說(shuō)明:返回郵件SMTP中的最后一個(gè)錯(cuò)誤信息

Expand --方法
出自:SMTP::Expand()
文件:class.smtp.php
說(shuō) 明:返回郵件列表中所有用戶(hù)。成功則返回?cái)?shù)組,否則返回 false(Expandtakesthenameandaskstheservertolistallthepeoplewhoaremembersofthe_list_.Expandwillreturnbackandarrayoftheresultorfalseifanerroroccurs.)

F開(kāi)頭:

$From --屬性
出自:phpMailer ::$From文件class.phpmailer .php
說(shuō)明:發(fā)件人E-mail地址
$FromName --屬性
出自:phpMailer ::$FromName
文件:class.phpmailer .php
說(shuō)明:發(fā)件人稱(chēng)呼

H開(kāi)頭:

$Helo --屬性
出自:phpMailer ::$Helo
文件:class.phpmailer .php
說(shuō)明:設(shè)置SMTPHelo,默認(rèn)是$Hostname(SetstheSMTPHELOofthemessage(Defaultis$Hostname).)

$Host --屬性
出自:phpMailer ::$Host
文件:class.phpmailer .php
說(shuō)明:設(shè)置SMTP服務(wù)器,格式為:主機(jī)名[端口號(hào)],如smtp1.example.com:25和smtp2.example.com都是合法的

$Hostname --屬性
出自:phpMailer ::$Hostname
文件:class.phpmailer .php
說(shuō)明:設(shè)置在Message-Id和andReceivedheaders中的hostname并同時(shí)被$Helo使用。如果為空,默認(rèn)為SERVER_NAME或'localhost.localdomain"

Hello --方法
出自:SMTP::Hello()
文件:class.smtp.php
說(shuō)明:向SMTP服務(wù)器發(fā)送HELO命令

Help --方法
出自:SMTP::Help()
文件:class.smtp.php
說(shuō)明:如果有關(guān)鍵詞,得到關(guān)鍵詞的幫助信息

I開(kāi)頭:

IsError --方法
出自:phpMailer ::IsError()
文件:class.phpmailer .php
說(shuō)明:返回是否有錯(cuò)誤發(fā)生

IsHTML --方法
出自:phpMailer ::IsHTML()
文件:class.phpmailer .php
說(shuō)明:設(shè)置信件是否是HTML格式

IsMail --方法
出自: phpMailer ::IsMail()
文件:class.phpmailer .php
說(shuō)明:設(shè)置是否使用php的mail函數(shù)發(fā)件

IsQmail --方法
出自: phpMailer ::IsQmail()
文件:class.phpmailer .php
說(shuō)明:設(shè)置是否使用qmailMTA來(lái)發(fā)件

IsSendmail-- 方法
出自:phpMailer ::IsSendmail()
文件:class.phpmailer .php
說(shuō)明:是否使用$Sendmail程序來(lái)發(fā)件

IsSMTP--方法
出自:phpMailer ::IsSMTP()
文件:class.phpmailer .php
說(shuō)明:是否使用SMTP來(lái)發(fā)件

M開(kāi)頭:

$Mailer --屬性
出自:phpMailer ::$Mailer
文件:class.phpmailer .php
說(shuō)明:發(fā)件方式,("mail","sendmail",or"smtp").中的一個(gè)

Mail --方法
出自:SMTP::Mail()
文件:class.smtp.php
說(shuō)明:從$from中一個(gè)郵件地址開(kāi)始處理,返回true或false。如果是true,則開(kāi)始發(fā)件

N開(kāi)頭:

Noop-- 方法
出自:SMTP::Noop()
文件:class.smtp.php
說(shuō)明:向SMTP服務(wù)器發(fā)送一個(gè)NOOP命令

P開(kāi)頭:
$Password --屬性
出自:phpMailer ::$Password
文件:class.phpmailer .php
說(shuō)明:設(shè)置SMTP的密碼

$PluginDir --屬性
出自:phpMailer ::$PluginDir
文件:class.phpmailer .php
說(shuō)明:設(shè)置phpmailer 的插件目錄,僅在smtpclass不在phpmailer 目錄下有效

$Port --屬性
出自:phpMailer ::$Port
文件:class.phpmailer .php
說(shuō)明:設(shè)置SMTP的端口號(hào)

$Priority --屬性
出自:phpMailer ::$Priority
文件:class.phpmailer .php
說(shuō)明:設(shè)置郵件投遞優(yōu)先等級(jí)。1=緊急,3=普通,5=不急

phpMailer --對(duì)象
出自:phpMailer
文件:class.phpmailer .php
說(shuō)明:phpMailer -phpemailtransportclass

Q開(kāi)頭

Quit --方法
出自:SMTP::Quit()
文件:class.smtp.php
說(shuō)明:向服務(wù)器發(fā)送Quit命令,如果沒(méi)有錯(cuò)誤發(fā)生。那么關(guān)閉sock,不然$close_on_error為true

R開(kāi)頭

Recipient --方法
出自:SMTP::Recipient()
文件:class.smtp.php
說(shuō)明:使用To向SMTP發(fā)送RCPT命令,參數(shù)為:$to

Reset --方法
出自:SMTP::Reset()
文件:class.smtp.php
說(shuō)明:發(fā)送RSET命令從而取消處理中傳輸。成功則返回true,否則為false

S開(kāi)頭:

$Sender --屬性
出自:phpMailer ::$Sender
文件:class.phpmailer .php
說(shuō)明:SetstheSenderemail(Return-Path)ofthemessage.Ifnotempty,willbesentvia-ftosendmailoras'MAILFROM'insmtpmode.

$Sendmail --屬性
出自:phpMailer ::$Sendmail
文件:class.phpmailer .php
說(shuō)明:設(shè)置發(fā)件程序的目錄

$SMTPAuth --屬性
出自:phpMailer ::$SMTPAuth
文件:class.phpmailer .php
說(shuō)明:設(shè)置SMTP是否需要認(rèn)證,使用Username和Password變量

$SMTPDebug --屬性
出自:phpMailer ::$SMTPDebug
文件:class.phpmailer .php
說(shuō)明:設(shè)置SMTP是否調(diào)試輸出?

$SMTPKeepAlive --屬性
出自:phpMailer ::$SMTPKeepAlive
文件:class.phpmailer .php
說(shuō)明:在每次發(fā)件后不關(guān)閉連接。如果為true,則,必須使用SmtpClose()來(lái)關(guān)閉連接

$SMTP_PORT --屬性
出自:SMTP::$SMTP_PORT
文件:class.smtp.php
說(shuō)明:設(shè)置SMTP端口

$Subject --屬性
出自:phpMailer ::$Subject
文件:class.phpmailer .php
說(shuō)明:設(shè)置信件的主題

Send --方法
出自:SMTP::Send()
文件:class.smtp.php
說(shuō)明:從指定的郵件地址開(kāi)始一個(gè)郵件傳輸

Send --方法
出自:phpMailer ::Send()
文件:class.phpmailer .php
說(shuō)明:創(chuàng)建郵件并制定發(fā)件程序。如果發(fā)件不成功,則返回false,請(qǐng)使用ErrorInfo來(lái)查看錯(cuò)誤信息

SendAndMail --方法
出自:SMTP::SendAndMail()
文件:class.smtp.php
說(shuō)明:從指定的郵件地址開(kāi)始一個(gè)郵件傳輸

SendOrMail --方法
出自:SMTP::SendOrMail()
文件:class.smtp.php
說(shuō)明:從指定的郵件地址開(kāi)始一個(gè)郵件傳輸

SetLanguage --方法
出自:phpMailer ::SetLanguage()
文件:class.phpmailer .php
說(shuō)明:設(shè)置phpmailer 錯(cuò)誤信息的語(yǔ)言類(lèi)型,如果無(wú)法加載語(yǔ)言文件,則返回false,默認(rèn)為english

SMTP --方法
出自:SMTP::SMTP()
文件:class.smtp.php
說(shuō)明:初始化一個(gè)對(duì)象以便數(shù)據(jù)處于一個(gè)已知的狀態(tài)

SMTP --對(duì)象
出自:SMTP
文件:class.smtp.php
說(shuō)明:SMTP對(duì)象

SmtpClose --方法
出自:phpMailer ::SmtpClose()
文件:class.phpmailer .php
說(shuō)明:如果有活動(dòng)的SMTP則關(guān)閉它。

T開(kāi)頭

$Timeout --屬性
出自:phpMailer ::$Timeout
文件:class.phpmailer .php
說(shuō)明:設(shè)置SMTP服務(wù)器的超時(shí)(單位:秒)。注意:在win32下,該屬性無(wú)效

Turn --方法
出自:SMTP::Turn()
文件:class.smtp.php
說(shuō)明:這是一個(gè)可選的SMTP參數(shù),目前phpmailer 并不支持他,可能未來(lái)支持

U開(kāi)頭

$Username --屬性
出自:phpMailer ::$Username
文件:class.phpmailer .php
說(shuō)明:設(shè)置SMTP用戶(hù)名

V開(kāi)頭

$Version --屬性
出自:phpMailer ::$Version
文件:class.phpmailer .php
說(shuō)明:返回phpmailer 的版本

Verify --方法
出自:SMTP::Verify()
文件:class.smtp.php
說(shuō)明:通過(guò)服務(wù)器檢查用戶(hù)名是否經(jīng)過(guò)驗(yàn)證

W開(kāi)頭:

$WordWrap --屬性
出自:phpMailer ::$WordWrap
文件:class.phpmailer .php
說(shuō)明:設(shè)置每行最大字符數(shù),超過(guò)改數(shù)后自動(dòng)換行

php技術(shù)PHPMailer 中文使用說(shuō)明小結(jié),轉(zhuǎn)載需保留來(lái)源!

鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請(qǐng)第一時(shí)間聯(lián)系我們修改或刪除,多謝。

主站蜘蛛池模板: 一区二区三区国产精品 | 99久久久久久| 久久久久国产精品一区二区 | 精品国产女人 | 一二三四在线视频观看社区 | 亚洲欧美日韩在线 | 欧美日韩一区二区三区不卡视频 | 日日碰碰 | 99精品一区二区 | 成人在线观看免费视频 | 国产精品无码专区在线观看 | 日韩久久久一区二区 | 精品国产欧美一区二区 | 中文字幕亚洲精品 | 免费黄色av | 亚洲成av人影片在线观看 | 日韩色图视频 | 国产免费播放视频 | 欧美一区二区在线播放 | 成人在线视频免费观看 | 久久激情五月丁香伊人 | www.99热.com| 久久精品一区二区视频 | 久久久久国产 | 亚洲成色777777在线观看影院 | 青青草原综合久久大伊人精品 | 精品国产91亚洲一区二区三区www | 亚洲精品黄 | 久久精品国产免费高清 | 久久久久久一区 | 99re在线视频 | 欧美99久久精品乱码影视 | 日韩一二三区 | 深夜福利亚洲 | 亚洲成年在线 | 国产精品色 | 狠狠操av | 国产一区二区三区精品久久久 | 久久久精 | 韩日视频在线观看 | 国产精品毛片一区二区在线看 |