<?php
namespace PHPMailer;
/*~ class.phpmailer.php
.---------------------------------------------------------------------------.
| Software: PHPMailer - PHP email class |
| Version: 5.2.2 |
| Site: https://code.google.com/a/apache-extras.org/p/phpmailer/ |
| ------------------------------------------------------------------------- |
| Admin: Jim Jagielski (project admininistrator) |
| Authors: Andy Prevost (codeworxtech) codeworxtech@users.sourceforge.net |
| : Marcus Bointon (coolbru) coolbru@users.sourceforge.net |
| : Jim Jagielski (jimjag) jimjag@gmail.com |
| Founder: Brent R. Matzelle (original founder) |
| Copyright (c) 2010-2012, Jim Jagielski. All Rights Reserved. |
| Copyright (c) 2004-2009, Andy Prevost. All Rights Reserved. |
| Copyright (c) 2001-2003, Brent R. Matzelle |
| ------------------------------------------------------------------------- |
| License: Distributed under the Lesser General Public License (LGPL) |
| http://www.gnu.org/copyleft/lesser.html |
| 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
* NOTE: Requires PHP version 5 or later
* @package PHPMailer
* @author Andy Prevost
* @author Marcus Bointon
* @author Jim Jagielski
* @copyright 2010 - 2012 Jim Jagielski
* @copyright 2004 - 2009 Andy Prevost
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
*/
if (version_compare(PHP_VERSION, '5.0.0', '<') ) exit("Sorry, this version of PHPMailer will only run on PHP version 5 or greater!\n");
/**
* PHP email creation and transport class
* @package PHPMailer
*/
class PHPMailer {
/////////////////////////////////////////////////
// PROPERTIES, PUBLIC
/////////////////////////////////////////////////
/**
* Email priority (1 = High, 3 = Normal, 5 = low).
* @var int
*/
public $Priority = 3;
/**
* Sets the CharSet of the message.
* @var string
*/
public $CharSet = 'iso-8859-1';
/**
* Sets the Content-type of the message.
* @var string
*/
public $ContentType = 'text/plain';
/**
* Sets the Encoding of the message. Options for this are
* "8bit", "7bit", "binary", "base64", and "quoted-printable".
* @var string
*/
public $Encoding = '8bit';
/**
* Holds the most recent mailer error message.
* @var string
*/
public $ErrorInfo = '';
/**
* Sets the From email address for the message.
* @var string
*/
public $From = 'root@localhost';
/**
* Sets the From name of the message.
* @var string
*/
public $FromName = 'Root User';
/**
* 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.
* @var string
*/
public $Sender = '';
/**
* Sets the Return-Path of the message. If empty, it will
* be set to either From or Sender.
* @var string
*/
public $ReturnPath = '';
/**
* Sets the Subject of the message.
* @var string
*/
public $Subject = '';
/**
* Sets the Body of the message. This can be either an HTML or text body.
* If HTML then run IsHTML(true).
* @var string
*/
public $Body = '';
/**
* Sets the text-only body of the message. This automatically sets the
* email to multipart/alternative. This body can be read by mail
* clients that do not have HTML email capability such as mutt. Clients
* that can read HTML will view the normal Body.
* @var string
*/
public $AltBody = '';
/**
* Stores the complete compiled MIME message body.
* @var string
* @access protected
*/
protected $MIMEBody = '';
/**
* Stores the complete compiled MIME message headers.
* @var string
* @access protected
*/
protected $MIMEHeader = '';
/**
* Stores the extra header list which CreateHeader() doesn't fold in
* @var string
* @access protected
*/
protected $mailHeader = '';
/**
* Sets word wrapping on the body of the message to a given number of
* characters.
* @var int
*/
public $WordWrap = 0;
/**
* Method to send mail: ("mail", "sendmail", or "smtp").
* @var string
*/
public $Mailer = 'mail';
/**
* Sets the path of the sendmail program.
* @var string
*/
public $Sendmail = '/usr/sbin/sendmail';
/**
* Determine if mail() uses a fully sendmail compatible MTA that
* supports sendmail's "-oi -f" options
* @var boolean
*/
public $UseSendmailOptions = true;
/**
* Path to PHPMailer plugins. Useful if the SMTP class
* is in a different directory than the PHP include path.
* @var string
*/
public $PluginDir = '';
/**
* Sets the email address that a reading confirmation will be sent.
* @var string
*/
public $ConfirmReadingTo = '';
/**
* Sets the hostname to use in Message-Id and Received headers
* and as default HELO string. If empty, the value returned
* by SERVER_NAME is used or 'localhost.localdomain'.
* @var string
*/
public $Hostname = '';
/**
* Sets the message ID to be used in the Message-Id header.
* If empty, a unique id will be generated.
* @var string
*/
public $MessageID = '';
/**
* Sets the message Date to be used in the Date header.
* If empty, the current date will be added.
* @var string
*/
public $MessageDate = '';
/////////////////////////////////////////////////
// PROPERTIES FOR SMTP
/////////////////////////////////////////////////
/**
* Sets the SMTP hosts.
*
* All hosts must be separated by a
* semicolon. 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").
* Hosts will be tried in order.
* @var string
*/
public $Host = 'localhost';
/**
* Sets the default SMTP server port.
* @var int
*/
public $Port = 25;
/**
* Sets the SMTP HELO of the message (Default is $Hostname).
* @var string
*/
public $Helo = '';
/**
* Sets connection prefix. Options are "", "ssl" or "tls"
* @var string
*/
public $SMTPSecure = '';
/**
* Sets SMTP authentication. Utilizes the Username and Password variables.
* @var bool
*/
public $SMTPAuth = false;
/**
* Sets SMTP username.
* @var string
*/
public $Username = '';
/**
* Sets SMTP password.
* @var string
*/
public $Password = '';
/**
* Sets SMTP auth type. Options are LOGIN | PLAIN | NTLM (default LOGIN)
* @var string
*/
public $AuthType = '';
/**
* Sets SMTP realm.
* @var string
*/
public $Realm = '';
/**
* Sets SMTP workstation.
* @var string
*/
public $Workstation = '';
/**
* Sets the SMTP server timeout in seconds.
* This function will not work with the win32 version.
* @var int
*/
public $Timeout = 10;
/**
* Sets SMTP class debugging on or off.
* @var bool
*/
public $SMTPDebug = false;
/**
* Sets the function/method to use for debugging output.
* Right now we only honor "echo" or "error_log"
* @var string
*/
public $Debugoutput = "echo";
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
环境: 国内外服务器均可使用 需求环境php7.3+mysql5.6/5.7 推荐5.7,设置public为运行目录,thinkphp伪静态 安装: 导入根目录install.sql到数据库 配置config/database.php 数据库信息 配置extend/PHPMailer/SendEmail.php 注册发信信息 登录管理员账户 admin 123456 php中删除函数popen和proc_open 已修复无法登录 已修复用户中心无法改密码 用QQ发不了信的去extend/PHPMailer/SendEmail.php这里, 在$mail -> SMTPAuth = true;//开启SMTP授权 下面添加两行代码,就搞定了。 $mail -> SMTPSecure = “ssl”; //ssl加密 $mail -> Port = 465; //使用465端口 接入其他易支付地址/view/admin/webset.html,第66行开始,复制一个,改成你的接口,改成你的名字,就好了 【注意1】如果播放器不加载或提示jQuery问题,
资源推荐
资源详情
资源评论
收起资源包目录
HTML网页悬浮音乐播放器源码 (944个子文件)
var-dump-server.bat 138B
bootstrap.min.css 118KB
plugins.css 103KB
app-20190821.css 74KB
layui.css 73KB
layui.css 71KB
style-0406.css 52KB
jquery.mCustomScrollbar.min.css 42KB
player.css 34KB
font-awesome.min.css 30KB
global.css 25KB
player.css 25KB
player.css 25KB
player.css 25KB
player.css 24KB
player.css 24KB
admin.css 21KB
login.css 19KB
player-20190927.css 16KB
layim.css 15KB
layer-3.0.2302.css 14KB
layer.css 14KB
template.css 11KB
layui.mobile.css 10KB
laydate.css 7KB
qlogin_v2.min-2592000_20140818.css 7KB
small.css 4KB
htmlDescriptor.css 3KB
login.css 2KB
code.css 1KB
style.css 873B
link.cur 4KB
default.cur 4KB
link.cur 4KB
default.cur 4KB
link.cur 4KB
default.cur 4KB
link.cur 4KB
default.cur 4KB
link.cur 4KB
default.cur 4KB
link.cur 4KB
default.cur 4KB
phpunit.xml.dist 826B
.editorconfig 271B
.editorconfig 131B
.example.env 233B
fontawesome-webfont-4.7.0.eot 162KB
iconfont.eot 46KB
iconfont-250.eot 41KB
glyphicons-halflings-regular.eot 20KB
hiddeninput.exe 9KB
59.gif 10KB
22.gif 10KB
24.gif 8KB
13.gif 7KB
16.gif 7KB
39.gif 6KB
64.gif 6KB
63.gif 6KB
50.gif 6KB
loading-0.gif 6KB
loading-0.gif 6KB
4.gif 6KB
1.gif 5KB
42.gif 5KB
71.gif 5KB
21.gif 5KB
20.gif 5KB
29.gif 5KB
70.gif 4KB
5.gif 4KB
17.gif 4KB
27.gif 4KB
9.gif 4KB
44.gif 4KB
11.gif 4KB
8.gif 4KB
3.gif 4KB
23.gif 4KB
34.gif 4KB
41.gif 4KB
38.gif 4KB
65.gif 3KB
32.gif 3KB
45.gif 3KB
7.gif 3KB
12.gif 3KB
26.gif 3KB
60.gif 3KB
2.gif 3KB
40.gif 3KB
25.gif 3KB
19.gif 3KB
66.gif 3KB
18.gif 3KB
46.gif 3KB
10.gif 3KB
28.gif 3KB
51.gif 3KB
共 944 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
小正太浩二
- 粉丝: 184
- 资源: 5908
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功