<?php
namespace WY\app\libs\Mailer;
use WY\app\libs\Mailer\SMTP;
use Exception;
use WY\app\libs\Mailer\phpmailerException;
/**
* PHPMailer - PHP email creation and transport class.
* PHP Version 5
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
* @author Brent R. Matzelle (original founder)
* @copyright 2012 - 2014 Marcus Bointon
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
* @note This program is distributed in the hope that it will be useful - WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* PHPMailer - PHP email creation and transport class.
* @package PHPMailer
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
* @author Brent R. Matzelle (original founder)
*/
class PHPMailer
{
/**
* The PHPMailer Version number.
* @var string
*/
public $Version = '5.2.14';
/**
* Email priority.
* Options: null (default), 1 = High, 3 = Normal, 5 = low.
* When null, the header is not set at all.
* @var integer
*/
public $Priority = null;
/**
* The character set of the message.
* @var string
*/
public $CharSet = 'iso-8859-1';
/**
* The MIME Content-type of the message.
* @var string
*/
public $ContentType = 'text/plain';
/**
* The message encoding.
* Options: "8bit", "7bit", "binary", "base64", and "quoted-printable".
* @var string
*/
public $Encoding = '8bit';
/**
* Holds the most recent mailer error message.
* @var string
*/
public $ErrorInfo = '';
/**
* The From email address for the message.
* @var string
*/
public $From = 'root@localhost';
/**
* The From name of the message.
* @var string
*/
public $FromName = 'Root User';
/**
* 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.
* @var string
*/
public $Sender = '';
/**
* The Return-Path of the message.
* If empty, it will be set to either From or Sender.
* @var string
* @deprecated Email senders should never set a return-path header;
* it's the receiver's job (RFC5321 section 4.4), so this no longer does anything.
* @link https://tools.ietf.org/html/rfc5321#section-4.4 RFC5321 reference
*/
public $ReturnPath = '';
/**
* The Subject of the message.
* @var string
*/
public $Subject = '';
/**
* An HTML or plain text message body.
* If HTML then call isHTML(true).
* @var string
*/
public $Body = '';
/**
* The plain-text message body.
* This body can be read by mail clients that do not have HTML email
* capability such as mutt & Eudora.
* Clients that can read HTML will view the normal Body.
* @var string
*/
public $AltBody = '';
/**
* An iCal message part body.
* Only supported in simple alt or alt_inline message types
* To generate iCal events, use the bundled extras/EasyPeasyICS.php class or iCalcreator
* @link http://sprain.ch/blog/downloads/php-class-easypeasyics-create-ical-files-with-php/
* @link http://kigkonsult.se/iCalcreator/
* @var string
*/
public $Ical = '';
/**
* The complete compiled MIME message body.
* @access protected
* @var string
*/
protected $MIMEBody = '';
/**
* The complete compiled MIME message headers.
* @var string
* @access protected
*/
protected $MIMEHeader = '';
/**
* Extra headers that createHeader() doesn't fold in.
* @var string
* @access protected
*/
protected $mailHeader = '';
/**
* Word-wrap the message body to this number of chars.
* Set to 0 to not wrap. A useful value here is 78, for RFC2822 section 2.1.1 compliance.
* @var integer
*/
public $WordWrap = 0;
/**
* Which method to use to send mail.
* Options: "mail", "sendmail", or "smtp".
* @var string
*/
public $Mailer = 'mail';
/**
* The path to the sendmail program.
* @var string
*/
public $Sendmail = '/usr/sbin/sendmail';
/**
* Whether mail() uses a fully sendmail-compatible MTA.
* One which supports sendmail's "-oi -f" options.
* @var boolean
*/
public $UseSendmailOptions = true;
/**
* Path to PHPMailer plugins.
* Useful if the SMTP class is not in the PHP include path.
* @var string
* @deprecated Should not be needed now there is an autoloader.
*/
public $PluginDir = '';
/**
* The email address that a reading confirmation should be sent to, also known as read receipt.
* @var string
*/
public $ConfirmReadingTo = '';
/**
* The hostname to use in the Message-ID header and as default HELO string.
* If empty, PHPMailer attempts to find one with, in order,
* $_SERVER['SERVER_NAME'], gethostname(), php_uname('n'), or the value
* 'localhost.localdomain'.
* @var string
*/
public $Hostname = '';
/**
* An ID to be used in the Message-ID header.
* If empty, a unique id will be generated.
* @var string
*/
public $MessageID = '';
/**
* The message Date to be used in the Date header.
* If empty, the current date will be added.
* @var string
*/
public $MessageDate = '';
/**
* SMTP hosts.
* Either a single hostname or multiple semicolon-delimited hostnames.
* You can also specify a different port
* for each host by using this format: [hostname:port]
* (e.g. "smtp1.example.com:25;smtp2.example.com").
* You can also specify encryption type, for example:
* (e.g. "tls://smtp1.example.com:587;ssl://smtp2.example.com:465").
* Hosts will be tried in order.
* @var string
*/
public $Host = 'localhost';
/**
* The default SMTP server port.
* @var integer
* @TODO Why is this needed when the SMTP class takes care of it?
*/
public $Port = 25;
/**
* The SMTP HELO of the message.
* Default is $Hostname. If $Hostname is empty, PHPMailer attempts to find
* one with the same method described above for $Hostname.
* @var string
* @see PHPMailer::$Hostname
*/
public $Helo = '';
/**
* What kind of encryption to use on the SMTP connection.
* Options: '', 'ssl' or 'tls'
* @var string
*/
public $SMTPSecure = '';
/**
* Whether to enable TLS encryption automatically if a server supports it,
* even if `SMTPSecure` is not set to 'tls'.
* Be aware that in PHP >= 5.6 this requires that the server's certificates are valid.
* @var boolean
*/
public $SMTPAutoTLS = true;
/**
* Whether to use SMTP authentication.
* Uses the Username and Password properties.
* @var boolean
* @see PHPMailer::$Username
* @see PHPMailer::$Password
*/
public $SMTPAuth = false;
/**
* Options array passed to stream_context_create when connecting via SMTP.
* @var array
*/
public $SMTPOptions = array();
/**
* SMTP username.
* @var string
*/
public $Username = '';
/**
* SMTP password.
* @var string
*/
public $Password = '';
/**
* SMTP auth type.
* Options
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
PHP聚合通多平台支付平台源码.zip (2000个子文件)
index.1html 5KB
agreement.php.bak 63KB
customers.php.bak 36KB
index.css.bak 26KB
copyright.php.bak 21KB
home.php.bak 20KB
checkout.php.bak 17KB
agentship.php.bak 8KB
privacy.php.bak 7KB
header.php.bak 5KB
contact.php.bak 5KB
footer.php.bak 3KB
mtsms.php.bak 3KB
statement.php.bak 3KB
about.php.bak 3KB
page_nav.php.bak 2KB
news.php.bak 2KB
jobs.php.bak 1KB
terms.php.bak 1014B
View.php.bak 617B
amazeui.min.css 249KB
bootstrap.min.css 120KB
bootstrap.min.css 118KB
wap.css 88KB
animate.css 75KB
aui.css 64KB
polyPay.css 41KB
polyPay.css 41KB
common.css 29KB
common.css 29KB
style.css 28KB
font-awesome.min.css 26KB
font-awesome.min.css 26KB
index.css 26KB
Web.css 22KB
Web.css 22KB
Web.css 22KB
Web.css 22KB
default.css 18KB
css.css 18KB
css.css 18KB
css.css 18KB
home.css 17KB
keyPay.css 14KB
keyPay.css 14KB
keyPay.css 14KB
keyPay.css 14KB
index.css 13KB
datetimepicker.min.css 11KB
common.css 8KB
style - 副本.css 7KB
style.css 7KB
style.css 7KB
style.css 7KB
style.css 7KB
jquery-ui.css 7KB
base.css 6KB
admin.css 5KB
layer.css 5KB
style.css 4KB
BankList.css 4KB
BankList.css 4KB
BankList.css 4KB
BankList.css 4KB
pay.css 4KB
pay.css 4KB
pay.css 4KB
pay.css 4KB
jquery.fullPage.css 4KB
css.css 3KB
css.css 3KB
css.css 3KB
css.css 3KB
css - 副本.css 3KB
download.css 3KB
app.css 3KB
app.css 3KB
app.css 3KB
simple.css 2KB
Btn.css 2KB
Btn.css 2KB
Btn.css 2KB
Btn.css 2KB
Weixin.css 1KB
Weixin.css 1KB
Weixin.css 1KB
Weixin.css 1KB
index.css 1KB
prettify.css 960B
tixian.css 884B
shunfoo.css 857B
shunfoo.css 857B
shunfoo.css 857B
order.css 478B
engine 198KB
engine 197KB
engine 197KB
fontawesome-webfont.eot 67KB
glyphicons-halflings-regular.eot 20KB
static.gif 35KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
酷爱码
- 粉丝: 8724
- 资源: 1709
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 【java毕业设计】智慧外贸平台源码(springboot+vue+mysql+说明文档+LW).zip
- IMG20241107151327.jpg
- 【java毕业设计】智慧食堂设计与实现源码(springboot+vue+mysql+说明文档+LW).zip
- 文书用电子小印生成器V124
- 【java毕业设计】springboot农产品销售系统(springboot+vue+mysql+说明文档).zip
- 四川省事业单位教师招聘考试模拟预测卷2套(含答案)
- QAT-PTQ.zip111
- 【java毕业设计】致远汽车租赁系统源码(springboot+vue+mysql+说明文档+LW).zip
- 【java毕业设计】springboot的社区流浪动物救助系统(springboot+vue+mysql+说明文档).zip
- MQTT入门到精通相关资料
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功