这增加了电子邮件的附件。
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 字符串 $地址 :电子邮件地址添加
发送电子邮件。
Send () 无效 发送 ()
__get ( 函数void __得到 ( ) $ VAR)
__set ( 函数void __集 ( , $ var的 , ) $ varValue)
__toString () 无效 的__toString()