PHPMailer中文说明

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()
文件: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中引用<img src= "cid:img_01 ">

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连接[/color]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
说明:向SMTP服务器发送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
说明:设置发件程序的目录

$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
说明:设置每行最大字符数,超过改数后自动换行

PHPMailer中文说明的更多相关文章

  1. PHPMailer中文乱码问题的解决方法

    之前用PHPMailer帮人家开发了用于发邮件的网站,由于是英文客户,所以中文没怎么测试,最近反馈说 中文乱码! 其实,之前是有发现标题中会出现中文了乱码,已经通过相应的代码解决. 收到反馈之后,查看 ...

  2. phpMailer中文说明[转]

    A开头: $AltBody--属性出自:PHPMailer::$AltBody文件:class.phpmailer.php说明:该属性的设置是在邮件正文不支持HTML的备用显示 AddAddress- ...

  3. php邮件发送 phpmailer

    首先要安装phpmailer开源项目. 将class.phpmailer.php转移到php文件夹下, 编写代码: <?php require("class.phpmailer.php ...

  4. 《PHP发送邮件PHPMailer》系列分享专栏

    <PHP发送邮件PHPMailer>已整理成PDF文档,点击可直接下载至本地查阅https://www.webfalse.com/read/201726.html 文章 PHPMailer ...

  5. php 使用phpmailer 发送邮件(附带中文乱码的解决方法)

    下载phpmailer ,在程序里包含class.phpmailer.php 类  ,这里有中文乱码的解决方法 实例代码如下 <html> <head> <title&g ...

  6. PHPMailer发送邮件中文附件名是乱码

    可能使用了PHPMailer发送邮件的朋友带中文附件名时会出现乱码,下面我来介绍一个解决办法. 比如我们要发送的附件是"测试.txt",如果在添加附件的时候强制使用指定文件名的方式 ...

  7. PHPMailer 使用 中文乱码

    WordPress在用. You'll find plenty more to play with in the examples folder. 中文乱码问题: $mail->CharSet ...

  8. 用phpmailer发邮件 中文乱码问题解决

    加入如下代码解决. $mail->CharSet = "GB2312"; //utf-8; $mail->Encoding = "base64"; ...

  9. PHP (sendmail / PHPMailer / ezcMailComposer)发送邮件

    一. 使用 PHP 内置的 mail() 函数 1. Windows 下 环境:WampServer2.5(Windows 10,Apache 2.4.9,MySQL 5.6.17,PHP 5.5.1 ...

随机推荐

  1. 百度的一个Ajax跨域方法 JavaScript是没有域的限制

    baidu的通行证处理都是在二级域名passport.baidu.com中处理的,但是baidu很多地方登录都好像是用ajax处理的,他是怎么做的呢?研究了一下,发现一个小技巧. 在http://zh ...

  2. TreeList的VisibleNodesCount,Noes.Count,AllNdoesCount以及焦点节点的删除

    初始5个Nodes 隐藏23节点,打印全部节点Tag 显示23,打印全部节点Tag 隐藏全部节点,打印节点Tag TreeList.Nodes.Count == TreeList.AllNodesCo ...

  3. linux 消息队列的限制

    消息队列的系统限制 作者:冯老师,华清远见嵌入式学院讲师. 消息队列是System V的IPC对象的一种,用于进程间通信,会受到系统的限制,本文主要描述了三个限制.第一:议个消息的最大长度:第二:消息 ...

  4. jQuery Ajax 分页插件

    很多社交网站都使用无限滚动的翻页技术来提高用户体验,当你页面滑到列表底部时候无需点击就自动加载更多的内容 很多社交网站都使用无限滚动的翻页技术来提高用户体验,当你页面滑到列表底部时候无需点击就自动加载 ...

  5. 以Facebook为案例剖析科技公司应有的工具文化

    http://www.36kr.com/p/146507.html 编者按:本文由 @王淮Harry哥 撰写,摘自他即将出版的新书.王淮是 Facebook 早期员工,中国藉第二位工程师第一位研发经理 ...

  6. bcb6 中安装 delphi7 的控件包

    其实只要新建一个包,然后把 d7 中的包包含的 pas 文件也包含进去就行了. 同时它会把对应的 bpi 文件也自动包含. 对于 bcb6 中没有的 PosEx 函数可以这样处理,把 d7 中的实现复 ...

  7. HDU 5452 Minimum Cut

    链接:http://acm.hdu.edu.cn/showproblem.php?pid=5452题目大意: 给你一个图G,图中包含一颗生成树.要求只能删除生成树内的一条边,使得图不联通.问最小的删除 ...

  8. 数学(欧拉函数):UVAOJ 11426 GCD - Extreme (II)

    aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAIAAABnsVYUAAAgAElEQVR4nOzdPW7zvII/bG1gCi9gKq ...

  9. uri编解码

    相关函数如下:(都是全局函数) encodeURI(URIString):将文本字符串编码为有效的统一资源标示符URI decodeURI(URIString) encodeURIComponent( ...

  10. Vim笔记

    复制多行: v 可视化,选择多行,然后yy复制.