這增加了電子郵件的附件。
AddAttachement ( string $filename , [ string $fileType = null ], [ string $data = null ]) 無效 AddAttachement( 字符串 $文件名 ,[ 字符串 $文件類型 = NULL],[ 字符串 $ = NULL)
- $filename : the filename of the attachment 字符串 $文件名 :附件的文件名
- $fileType : the file type of the attachment 字符串 $文件類型 :文件類型的附件
- $data : of the attachment this is not needed as it can be retrieved from the filename. 字符串 元數據 :附件,這是沒有必要,因為它可以從文件名 檢索。
這增加了電子郵件地址,以密件副本的電子郵件地址列表
AddBCC ( string $address ) ,無效 AddBCC( 字符串 $地址 )
- $address : the email address to add 字符串 $地址 :電子郵件地址添加
這增加了電子郵件地址,抄送電子郵件地址的列表
AddCC ( string $address ) ,無效 AddCC( 字符串 $地址 )
- $address : the email address to add 字符串 $地址 :電子郵件地址添加
這增加了模板的身體的電子郵件地址,這使得電子郵件更簡單的工作。
美元templatedFilename後的所有參數,然後在模板中使用。 必須有至少兩個參數傳遞給這個方法。
AddTemplatedBody ( string $templateFilename ) ,無效 AddTemplatedBody( 字符串 $ templateFilename)
- $templateFilename : the filename of the templated body 字符串 $ templateFilename 模板機構的文件名
這增加了一個電子郵件地址的電子郵件地址列表
AddTo ( string $address ) addto把 無效 ( 字符串 $地址 )
- $address : the email address to add 字符串 $地址 :電子郵件地址添加
__get ( 函數void __得到 ( ) $ VAR)
__set ( 函數void __集 ( , $ var的 , ) $ varValue)
__toString () 無效 的__toString()