首頁 後端開發 php教程 my heart will go on 歌詞 PHPMailer 中文使用說明小結

my heart will go on 歌詞 PHPMailer 中文使用說明小結

Jul 29, 2016 am 08:41 AM

A開頭:
$AltBody --屬性
出自:PHPMailer : $AltBody
檔案:class.phpmailer .php
說明:此屬性的設定是在郵件正文不支援HTML的備用顯示
AddAddress --方法
出自:PHPMailer ::AddAddress(),檔案:class.phpmailer .php
說明:增加收件者。參數1為收件人郵箱,參數2為收件人稱呼。例AddAddress("to@163.com","to name"),但參數2可選,AddAddress(to@163.com )也是可以的。
函數原型:public function AddAddress($address, $name = '') {}
AddAttachment --方法
來自:PHPMailer ::AddAttachment()
檔案:class.phpmailer .php。
說明:增加附件。
參數:路徑,名稱,編碼,類型。其中,路徑為必選,其他為可選
函數原型:
AddAttachment($path, $name = '', $encoding = 'base64', $type = 'application/octet-stream'){ }
AddBCC --方法
出自:PHPMailer ::AddBCC()
檔:class.phpmailer .php
說明:增加一個密送。抄送和密送的區別請看[SMTP寄件中的密送和抄送的區別 ] 。
參數1為位址,參數2為名稱。注意此方法只支援在win32下使用SMTP,不支援mail函數
函數原型:public function AddBCC($address, $name = ''){}
AddCC -- 方法
出自:PHPMailer : :AddCC()
檔:class.phpmailer .php
說明:增加一個抄送。抄送和密送的區別請看[SMTP寄件中的密送和抄送的區別 ] 。
參數1為位址,參數2為名稱注意此方法只支援在win32下使用SMTP,不支援mail函數
函數原型:public function AddCC($address, $name = '') {}
AddCustomHeader --方法
出自:PHPMailer ::AddCustomHeader()
檔:class.phpmailer .php
說明:增加一個自訂的E-mail頭部。
參數為頭部資訊
函數原型:public function AddCustomHeader($custom_header){}
AddEmbeddedImage -- 方法
出自:PHPMailer ::AddEmbeddedImage() 說明:增加一個嵌入式圖片
參數:路徑,回傳句柄[,名稱,編碼,類型]
函數原型:public function AddEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = 'application/octet-stream') {}
提示:AddEmbeddedImage(PICTURE_PATH. "index_01.jpg ", "img_01 ", "index_01.jpg ");

在html中引用my heart will go on 歌詞 PHPMailer 中文使用說明小結
AddReplyTo --方法
來自:PHPMailer :: AddReplyTo()
檔案:class.phpmailer .php
說明:增加回覆標籤,如"Reply-to"
參數1位址,參數2名稱
函數原型:public function AddReplyTo($address, $name = '') {}
AddStringAttachment -方法
出自:PHPMailer : : AddStringAttachment()
檔:class.phpmailer .php
說明:增加一個字串或二進位附件(Adds a string or binary attachment (non-filesystem) to the list.?)
參數:字元字串,檔名[,編碼,類型]
函數原型:public function AddStringAttachment($string, $filename, $encoding = 'base64', $type = 'application/octet-stream') {}
Authenticate --方法
出自:SMTP::Authenticate()
檔:class.smtp.php
說明:開始SMTP認證,必須在Hello()之後調用,如果認證成功,傳回true,
參數1用戶名,參數2密碼
函數原型:public function Authenticate($username, $password) {}
B開頭
$Body --屬性
出自:PHPMailer : $Body
檔案: class.phpmailer .php
說明:郵件內容,HTML或Text格式
C開頭
$CharSet --屬性
來自:PHPMailer : $CharSet
檔案:class. phpmailer .php
說明:郵件編碼,預設為iso-8859-1
$ConfirmReadingTo --屬性
出自:PHPMailer : $ConfirmReadingTo 檔案class.phpmailer .php
說明:回執?
$ContentType --屬性
出自:PHPMailer : $ContentType
檔案: class.phpmailer .php
說明:文檔的類型,預設"text/plain"
$CRLF --屬性
出自:PHPMailer : $ContentType
檔:class.phpmailer .php
說明:SMTP回復結束的分隔符號(SMTP reply line ending?)
class.phpmailer .php --
出自:class.phpmailer .php
檔: class.phpmailer .php
說明:phpmailer 物件
class.smtp.php --物件
來自:class.smtp.php 檔案: class .smtp.php
說明:SMTP功能的物件
ClearAddresses --方法
來自:PHPMailer ::ClearAddresses()
檔案:class.phpmailer .php
說明:清除收件人,為下一次發件做準備。回傳類型是void
ClearAllRecipients --方法
來自:PHPMailer ::ClearAllRecipients()
檔案: class.phpmailer .php
說明:清除所有收件人,包括CC(抄送)和BCC(密送)
ClearAttachments --方法
出自:PHPMailer ::ClearAttachments()
文件: class.phpmailer .php
說明:清楚附件
ClearBCCs --方法
出自:PHPMailer ::ClearBCCs() 檔案class.phpmailer .php
說明:清楚BCC (密送)
ClearCustomHeaders --方法
出自:PHPMailer ::ClearCustomHeaders()
檔: class. phpmailer .php
說明:清楚自訂頭部
ClearReplyTos --方法
出自:PHPMailer ::ClearReplyTos()
檔: class.phpmailer .php
說明:清楚回覆者
Close --方法
來自:SMTP::Close()
檔案: class.smtp.php
說明:關閉一個SMTP連線
Connect --方法
來自:SMTP: :Connect()
檔案: class.smtp.php
說明:建立一個SMTP連線Mailer.html
$ContentType --屬性
出自:PHPMailer : $ContentType
檔案: class. phpmailer .php
說明:文件的類型,預設為"text/plain"
D開頭
$do_debug --屬性
出自:SMTP: $do_debug
檔案:class.smtp. php
說明:SMTP偵錯輸出
Data -方法
出自:SMTP: $Data()
檔案:class.smtp.php
說明:傳送一個資料指令和訊息訊息給伺服器(sendsthemsg_datatotheserver)
E開頭
$Encoding --屬性
出自:PHPMailer : $Encoding
檔案:class.phpmailer .php
說明:設定郵件的編碼方式,可選:" 8bit","7bit","binary","base64",和"quoted-printable".
$ErrorInfo --屬性
出自:PHPMailer : $ErrorInfo
檔案:class.phpmailer .php
說明:傳回郵件SMTP中的最後一個錯誤訊息
Expand --方法
出自:SMTP::Expand()
檔案:class.smtp.php
說明:傳回郵件清單中所有用戶。成功則返回數組,否則返回false(Expandtakesthenameandaskstheservertolistallthepeoplewhoaremembersofthe_list_.Expandwillreturnbackandarrayoftheresultorfalseifanerroroccurs.)
F開頭:
$From --屬性
出自:PHPMailer ::$From文件class.phpmailer .php
說明:發件人E-mail地址
$FromName --屬性
出自:PHPMailer ::$FromName
檔:class.phpmailer .php
說明:寄件者稱呼
H開頭:
$Helo --屬性
出自:PHPMailer ::$Helo
檔案:class.phpmailer .php
說明:設定SMTPHelo,預設是$Hostname(SetstheSMTPHELOofthemessage(Defaultis$Hostname).) $Host --屬性
出自:PHPMailer ::$Host
檔案:class.phpmailer .php
說明:設定SMTP伺服器,格式為:主機名稱[連接埠號碼],如smtp1.example. com:25和smtp2.example.com都是合法的
$Hostname --屬性
出自:PHPMailer ::$Hostname
檔案:class.phpmailer .php
說明:設定在Message- Id和andReceivedheaders中的hostname並同時被$Helo使用。如果為空,預設為SERVER_NAME或'localhost.localdomain"
Hello --方法
出自:SMTP::Hello()
檔案:class.smtp.php
說明:傳送HELO指令
Help --方法
出自:SMTP::Help()
檔案:class.smtp.php
說明:如果有關鍵字,得到關鍵字的幫助資訊
I開頭:
IsError --方法
來自:PHPMailer ::IsError()
檔案:class.phpmailer .php
說明:傳回是否有錯誤發生
IsHTML --方法
出自:PHPMailer ::IsHTML()
檔案:class.phpmailer .php
說明:設定信件是否為HTML格式
IsMail --方法
出自: PHPMailer ::IsMail()
檔案:class.phpmailer .php
說明:設定是否使用php的mail函式寄件
IsQmail --方法
出自: PHPMailer ::IsQmail()
檔案:class.phpmailer .php
說明:設定是否使用qmailMTA來寄件
IsSendmail-- 方法
出自:PHPMailer ::IsSendmail()
檔案:class.phpmailer .php
說明:是否使用$Sendmail程式來寄件
IsSMTP--方法
出自:PHPMailer ::IsSMTP()
檔案:class.phpmailer .php
說明:是否使用SMTP來寄件
M開頭:
$Mailer --屬性
出自:PHPMailer ::$Mailer
檔案:class.phpmailer .php
說明:寄件方式,("mail","sendmail",or"smtp").的一個
Mail --方法
出自:SMTP::Mail()
檔:class.smtp.php
說明:從$from中一個郵件地址開始處理,回傳true或false。如果是true,則開始寄件
N開頭:
Noop-- 方法
出自:SMTP::Noop()
檔:class.smtp.php
說明:向SMTP伺服器傳送一個NOOP指令
P開頭:
$Password --屬性
出自:PHPMailer ::$Password
檔:class.phpmailer .php
說明:設定SMTP的密碼
$PluginDir --屬性
出自:PHPMailer ::$PluginDir
檔案:class.phpmailer .php
說明:設定phpmailer 的插件目錄,僅在smtpclass不在phpmailer 目錄下有效
$Port - - -屬性
來自:PHPMailer ::$Port
檔案:class.phpmailer .php
說明:設定SMTP的連接埠號碼
$Priority --屬性
出自:PHPMailer ::$Priority
檔案:class.phpmailer .php
說明:設定郵件投遞優先等級。 1=緊急,3=普通,5=不急
PHPMailer --對象
出自: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
說明: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
說明:設定每行最大字元數,超過改數後自動換行

以上就介紹了my heart will go on 歌詞 PHPMailer 中文使用說明小結,包括了my heart will go on 歌詞方面的內容,希望對PHP教程有興趣的朋友有所幫助。

本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

AI Hentai Generator

AI Hentai Generator

免費產生 AI 無盡。

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
2 週前 By 尊渡假赌尊渡假赌尊渡假赌
倉庫:如何復興隊友
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island冒險:如何獲得巨型種子
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

11個最佳PHP URL縮短腳本(免費和高級) 11個最佳PHP URL縮短腳本(免費和高級) Mar 03, 2025 am 10:49 AM

11個最佳PHP URL縮短腳本(免費和高級)

Instagram API簡介 Instagram API簡介 Mar 02, 2025 am 09:32 AM

Instagram API簡介

在Laravel中使用Flash會話數據 在Laravel中使用Flash會話數據 Mar 12, 2025 pm 05:08 PM

在Laravel中使用Flash會話數據

構建具有Laravel後端的React應用程序:第2部分,React 構建具有Laravel後端的React應用程序:第2部分,React Mar 04, 2025 am 09:33 AM

構建具有Laravel後端的React應用程序:第2部分,React

簡化的HTTP響應在Laravel測試中模擬了 簡化的HTTP響應在Laravel測試中模擬了 Mar 12, 2025 pm 05:09 PM

簡化的HTTP響應在Laravel測試中模擬了

php中的捲曲:如何在REST API中使用PHP捲曲擴展 php中的捲曲:如何在REST API中使用PHP捲曲擴展 Mar 14, 2025 am 11:42 AM

php中的捲曲:如何在REST API中使用PHP捲曲擴展

在Codecanyon上的12個最佳PHP聊天腳本 在Codecanyon上的12個最佳PHP聊天腳本 Mar 13, 2025 pm 12:08 PM

在Codecanyon上的12個最佳PHP聊天腳本

宣布 2025 年 PHP 形勢調查 宣布 2025 年 PHP 形勢調查 Mar 03, 2025 pm 04:20 PM

宣布 2025 年 PHP 形勢調查

See all articles