phpmailer 私密抄送_phpmailer中文手册属性方法

$AltBody --属性

出自:PHPMailer::$AltBody

,文件:class.phpmailer.php

阐发 :该属性的设置是在邮件正文不支持

HTML的备用表现

AddAddress --行动

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

阐发 :增进收件人。参数1为收件人邮箱,参数2为收件人称呼

。例AddAddress("xiaoxiaoxiaoyu@xiaoxiaoyu.cn","xiaoxiaoyu"),但参数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

阐发 :增进一个密送。抄送和密送的不同请看[]

。参数1为所在,参数2为名称。留意 此行动 只支持 在win32下应用 SMTP,不支持 mail函数

函数原型:

public function

AddBCC($address, $name = ''){}

AddCC --行动

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

阐发 :增进一个抄送。抄送和密送的不同请看[]

。参数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) {}

$Body --属性

出自:PHPMailer::$Body 文件:

class.phpmailer.php

阐发 :邮件内容,HTML或Text技俩

$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.ph

阐发 :明白 附件

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毗连

$do_debug --属性

出自:SMTP::$do_debug

文件:class.smtp.php

阐发 :SMTP调试输出

Data -行动

出自:SMTP::Data() 文件:

class.smtp.php

阐发 :向做事器发送一个数据下令 和动静 信息( sends

the msg_data to the server)

$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(Expand takes the name and asks the server to list all the

people who are members of the _list_. Expand will return back and

array of the result or false if an error occurs.)

$From --属性

出自:PHPMailer::$From 文件

class.phpmailer.php

阐发 :发件人E-mail所在

$FromName --属性

出自:PHPMailer::$FromName 文件:

class.phpmailer.php

阐发 :发件人称呼

$Helo --属性

出自:PHPMailer::$Helo 文件:

class.phpmailer.php

阐发 :设置SMTP

Helo,默认是$Hostname(Sets the SMTP HELO of the message (Default is

$Hostname).)

$Host--属性

出自:PHPMailer::$Host 文件:class.phpmailer.php

阐发 :设置SMTP做事器,技俩为:主机名[端标语

],如smtp1.example.com:25和smtp2.example.com都是合法 的

$Hostname --属性

出自:PHPMailer::$Hostname 文件:

class.phpmailer.php

阐发:设置在Message-Id和and Received

headers 中的hostname并同时被$Helo应用 。假如 为空,默认为 SERVER_NAME 或

'localhost.localdomain"

Hello --行动

出自:SMTP::Hello() 文件:class.smtp.php

阐发 :向SMTP做事器发送HELO下令

Help --行动

出自:SMTP::Help()

文件:class.smtp.php

阐发 :假如 有关键词,得到关键词的赞助 信息

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

阐发 :设置是否应用 qmail MTA来发件

IsSendmail --行动

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

阐发 :是否应用 $Sendmail 措施来发件

IsSMTP --行动

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

阐发 :是否应用 SMTP来发件

$Mailer --属性

出自:PHPMailer::$Mailer 文件:class.phpmailer.php

阐发 :发件行动 ,("mail", "sendmail",

or "smtp").中的一个

Mail --行动

出自:SMTP::Mail() 文件: class.smtp.php

阐发 :从$from中一个邮件所在起头处理 赏罚

,返回true或false。假如 是true,则起头发件

Noop --行动

出自:SMTP::Noop() 文件: class.smtp.php

阐发 :向SMTP做事器发送一个NOOP下令

$Password --属性

出自:PHPMailer::$Password 文件: class.phpmailer.php

阐发 :设置SMTP的暗码

$PluginDir --属性

出自:PHPMailer::$PluginDir 文件:class.phpmailer.php

阐发 :设置phpmailer的插件目次 ,仅在smtp

class不在phpmailer目次 下有效

$Port --属性

出自:PHPMailer::$Port 文件: class.phpmailer.php

阐发 :设置SMTP的端标语

$Priority --属性

出自:PHPMailer::$Priority 文件:class.phpmailer.php

阐发 :设置邮件投递优先品级 。1 = 紧急, 3 = 平凡

, 5 = 不急

PHPMailer --器材

出自:PHPMailer 文件: class.phpmailer.php

阐发 :PHPMailer - PHP email

transport class

Quit --行动

出自:SMTP::Quit() 文件: class.smtp.php

阐发 :向做事器发送Quit下令 ,假如 没有过错

发生。那么封闭 sock,不然 $close_on_error为true

Recipient--行动

出自:SMTP::Recipient() 文件:class.smtp.php

阐发 :应用 To向SMTP发送 RCPT 下令

,参数为:$to

Reset--行动

出自:SMTP::Reset() 文件: class.smtp.php

阐发 :发送 RSET 下令 从而取缔 处理 赏罚

中传输。乐成 则返回true,不然 为false

$Sender --属性

出自:PHPMailer::$Sender 文件: class.phpmailer.php

阐发 :Sets the Sender email

(Return-Path) of the message. If not empty, will be sent via -f to

sendmail or as 'MAIL FROM' in smtp mode.

$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则封闭 它。

$Timeout --属性

出自:PHPMailer::$Timeout 文件: class.phpmailer.php

阐发 :设置SMTP做事器的超时(单位 :秒)。留意

:在win32下,该属性无效

Turn --行动

出自:SMTP::Turn() 文件: class.smtp.php

阐发

:这是一个可选的SMTP参数,如今phpmailer并不支持 他,也许将来 支持

$Username --属性

出自:PHPMailer::$Username 文件:class.phpmailer.php

阐发 :设置SMTP用户名

$Version --属性

出自:PHPMailer::$Version 文件: class.phpmailer.php

阐发 :返回Phpmailer的版本

Verify --行动

出自:SMTP::Verify() 文件: class.smtp.php

阐发 :通过做事器反省 用户名是否颠末 验证

$WordWrap --属性

出自:PHPMailer::$WordWrap 文件: class.phpmailer.php

阐发 :设置每行最大字符数,高出 该数后主动 换行

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值