PHPMailer中文說明

2021-05-01 05:00:41 字數 4169 閱讀 6713

函式原型:public function addbcc($address, $name = ''){}

addcc --方法

出自:phpmailer::addcc()

檔案:class.phpmailer.php

說明:增加乙個抄送。抄送和密送的區別請看[smtp發件中的密送和抄送的區別 ] 。

引數1為位址,引數2為名稱注意此方法只支援在win32下使用smtp,不支援mail函式

--物件

出自:phpmailer

檔案:class.phpmailer.php

說明:phpmailer-phpemailtransportclass

q開頭quit--方法

出自:smtp::quit()

檔案:class.smtp.php

說明:向伺服器傳送quit命令,如果沒有錯誤發生。那麼關閉sock,不然$close_on_error為true

r開頭recipient--方法

出自:smtp::recipient()

檔案:class.smtp.php

說明:使用to向smtp傳送rcpt命令,引數為:$to

reset--方法

出自:smtp::reset()

檔案:class.smtp.php

說明:傳送rset命令從而取消處理中傳輸。成功則返回true,否則為false

s開頭:

$sender--屬性

出自:phpmailer::$sender

檔案:class.phpmailer.php

說明:setsthesenderemail(return-path)ofthemessage.ifnotempty,willbesentvia-ftosendmailoras'mailfrom'insmtpmode.

$sendmail--屬性

出自:phpmailer::$sendmail

檔案:class.phpmailer.php

說明:設定發件程式的目錄

$smtpauth--屬性

出自:phpmailer::$smtpauth

檔案:class.phpmailer.php

說明:設定smtp是否需要認證,使用username和password變數

$smtpdebug--屬性

出自:phpmailer::$smtpdebug

檔案:class.phpmailer.php

說明:設定smtp是否除錯輸出?

$smtpkeepalive--屬性

出自:phpmailer::$smtpkeepalive

檔案:class.phpmailer.php

說明:在每次發件後不關閉連線。如果為true,則,必須使用smtpclose()來關閉連線

$smtp_port--屬性

出自:smtp::$smtp_port

檔案:class.smtp.php

說明:設定smtp埠

$subject--屬性

出自:phpmailer::$subject

檔案:class.phpmailer.php

說明:設定信件的主題

send--方法

出自:smtp::send()

檔案:class.smtp.php

說明:從指定的郵件位址開始乙個郵件傳輸

send--方法

出自:phpmailer::send()

檔案:class.phpmailer.php

說明:建立郵件並制定發件程式。如果發件不成功,則返回false,請使用errorinfo來檢視錯誤資訊

sendandmail--方法

出自:smtp::sendandmail()

檔案:class.smtp.php

說明:從指定的郵件位址開始乙個郵件傳輸

sendormail--方法

出自:smtp::sendormail()

檔案:class.smtp.php

說明:從指定的郵件位址開始乙個郵件傳輸

setlanguage--方法

出自:phpmailer::setlanguage()

檔案:class.phpmailer.php

說明:設定phpmailer錯誤資訊的語言型別,如果無法載入語言檔案,則返回false,預設為english

smtp--方法

出自:smtp::smtp()

檔案:class.smtp.php

說明:初始化乙個物件以便資料處於乙個已知的狀態

smtp--物件

出自:smtp

檔案:class.smtp.php

說明:smtp物件

smtpclose--方法

出自:phpmailer::smtpclose()

檔案:class.phpmailer.php

說明:如果有活動的smtp則關閉它。

t開頭$timeout--屬性

出自:phpmailer::$timeout

檔案:class.phpmailer.php

說明:設定smtp伺服器的超時(單位:秒)。注意:在win32下,該屬性無效

turn--方法

出自:smtp::turn()

檔案:class.smtp.php

說明:這是乙個可選的smtp引數,目前phpmailer並不支援他,可能未來支援

u開頭$username--屬性

出自:phpmailer::$username

檔案:class.phpmailer.php

說明:設定smtp使用者名稱

v開頭$version--屬性

出自:phpmailer::$version

檔案:class.phpmailer.php

說明:返回phpmailer的版本

verify--方法

出自:smtp::verify()

檔案:class.smtp.php

說明:通過伺服器檢查使用者名稱是否經過驗證

w開頭:

$wordwrap--屬性

出自:phpmailer::$wordwrap

檔案:class.phpmailer.php

說明:設定每行最大字元數,超過改數後自動換行

class.phpmailer.php檔案

class.smtp.php 檔案

phpmailer中文說明

函式原型 public function addbcc address,name addcc 方法 出自 phpmailer addcc 檔案 class.phpmailer.php 說明 增加乙個抄送。抄送和密送的區別請看 smtp發件中的密送和抄送的區別 引數1為位址,引數2為名稱注意此方法只支...

Google Earth KML中文說明

翻譯了部分 google earth kml中文說明 的內容,不過由於最近時間不夠,所以剩下的翻譯過程可能進展的比較慢,所以就先放上來,以後再慢慢修改好了,我這乙份文件的原文是以前的比較簡單的版本 不過差不多還是比較清楚的 要看比較詳細的版本可以檢視google的google earth kml d...

wifidog 配置中文說明

閘道器id gatewayid default 外部網絡卡 externalinte ce eth0 無線網絡卡 gatewayinte ce eth0 無線ip gatewayaddress 192.168.1.1 路由狀態html htmlmessagefile wifidog msg.html...