參考網址 http://phpdocs.epesi.org/PHPMailer/PHPMailer.html

參考網址 http://phpmailer.worxware.com/index.php?pg=methods

 

A開頭:

        $AltBody --屬性

         出自:PHPMailer::$AltBody ,文件:class.phpmailer.php

         說明:該屬性的設置是在郵件正文不支持HTML的備用顯示

        AddAddress --方法

         出自:PHPMailer::AddAddress(),文件:class.phpmailer.php

         說明:增加收件人。參數1為收件人郵箱,參數2為收件人稱呼。例 AddAddress("mailto:xiaoxiaoxiaoyu@xiaoxiaoyu.cn%22,%22xiaoxiaoyu"),但參數2可 選,AddAddress(xiaoxiaoxiaoyu@xiaoxiaoyu.cn)也是可以的。函數原型:

         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(),文件:class.phpmailer.php

         說明:增加一個嵌入式圖片。參數:路徑,返回句柄[,名稱,編碼,類型]

         函數原型:

          public function AddEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = 'application/octet-stream') {}

         提示: AddEmbeddedImage(PICTURE_PATH. "index_01.jpg ", "img_01 ", "index_01.jpg ");
         在html中引用

        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連接

arrow
arrow
    全站熱搜

    js 發表在 痞客邦 留言(0) 人氣()