<?php
/**
* PHPMailer - PHP email transport class
* NOTE: Requires PHP version 5 or later
* @package PHPMailer
* @author Andy Prevost
* @author Marcus Bointon
* @copyright 2004 - 2009 Andy Prevost
* @version $Id: class.phpmailer.php 447 2009-05-25 01:36:38Z codeworxtech $
* @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");
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 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 = '';
/**
* 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';
/**
* 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 = '';
/////////////////////////////////////////////////
// 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 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;
/**
* Prevents the SMTP connection from being closed after each mail
* sending. If this is set to true then to close the connection
* requires an explicit call to SmtpClose().
* @var bool
*/
public $SMTPKeepAlive = false;
/**
* Provides the ability to have the TO field process individual
* emails, instead of sending to entire TO addresses
* @var bool
*/
public $SingleTo = false;
/**
* If SingleTo is true, this provides the array to hold the email addresses
* @var bool
*/
public $SingleToArray = array();
/**
* Provides the ability to change the line ending
* @var string
*/
public $LE = "\n";
/**
* Used with DKIM DNS Resource Record
* @var string
*/
public $DKIM_selector = 'phpmailer';
/**
* Used with DKIM DNS Resource Record
* optional, in format of email address 'you@yourdomain.com'
* @var string
*/
public $DKIM_identity = '';
/**
* Used with DKIM DNS Resource Record
* optional, in format of email address 'you@yourdomain.com'
* @var string
*/
public $DKIM_domain = '';
/**
* Used with DKIM DNS Resource Record
* optional, in format of email address 'you@yourdomain.com'
* @var string
*/
public $DKIM_private = '';
/**
* Callback Action function name
* the function that handles the result of the send email action. Parameters:
* bool $result result of the send action
* string $to email address of the recipient
* string $cc cc email addresses
* string $bcc bcc email addresses
* string $subject the subject
* string $body the email body
* @var string
*/
public $action_function = ''; //'callbackAction';
/**
* Sets the PHPMailer Version number
* @var string
*/
public $Version = '5.1';
/////////////////////////////////////////////////
// PROPERTIES, PRIVATE AND PROTECTED
/////////////////////////////////////////////////
private $smtp = NULL;
private $to = array();
private $cc = array();
private $bcc = array();
private $ReplyTo = array();
private $all_recipients = array();
private $attachment = array();
private $CustomHeader = array();
private $message_type = '';
private $boundary = array();
protected $language = array();
private $error_count = 0;
private $sign_cert_file = "";
private $sign_key_file = "";
private $sign_key_pass = "";
private $exceptions = false;
/////////////////////////////////////////////////
// CONSTANTS
/////////////////////////////////////////////////
const STOP_MESSAGE = 0; // message only, continue processing
const STO
没有合适的资源?快使用搜索试试~ 我知道了~
PHP实例开发源码-ZhiCms导购版(礼物).zip
共2043个文件
gif:470个
js:341个
html:316个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 67 浏览量
2022-11-22
08:49:18
上传
评论
收藏 30.11MB ZIP 举报
温馨提示
PHP实例开发源码—ZhiCms导购版(礼物).zip PHP实例开发源码—ZhiCms导购版(礼物).zip PHP实例开发源码—ZhiCms导购版(礼物).zip
资源推荐
资源详情
资源评论
收起资源包目录
PHP实例开发源码-ZhiCms导购版(礼物).zip (2043个子文件)
nginx.conf 163B
ace.min.css 388KB
ace.min.css 388KB
amazeui.min.css 249KB
amazeui.min.css 241KB
weuix.min.css 201KB
weuix.min.css 191KB
bootstrap.css 143KB
ace-part2.min.css 126KB
ace-part2.min.css 126KB
bootstrap.min.css 118KB
ace-rtl.min.css 114KB
ace-rtl.min.css 114KB
bootstrap.min.css 113KB
bootstrap.min.css 113KB
weui2.css 101KB
weui2.css 93KB
jfmall.css 79KB
icon.css 78KB
icon.css 78KB
ace-skins.min.css 76KB
ace-skins.min.css 76KB
layui.css 68KB
layui.css 58KB
style.css 47KB
font-awesome-ie7.min.css 46KB
weui.css 35KB
weui.css 35KB
font-awesome.css 34KB
index.css 29KB
font-awesome.min.css 28KB
font-awesome.min.css 27KB
font-awesome.min.css 27KB
font-awesome.min.css 27KB
font-awesome.min.css 27KB
bootstrap-theme.css 26KB
bootstrap-theme.min.css 23KB
swiper.css 22KB
default.css 20KB
default.css 20KB
index.css 20KB
bootstrap-datepicker3.min.css 20KB
bootstrap-datepicker3.min.css 20KB
swiper.min.css 19KB
bootstrap-editable.min.css 17KB
bootstrap-editable.min.css 17KB
jquery-ui.css 15KB
style.css 15KB
index.css 15KB
jquery-ui.min.css 15KB
jquery-ui.min.css 15KB
select2.min.css 14KB
select2.min.css 14KB
layer.css 14KB
layer.css 14KB
detailfix.css 14KB
ui.jqgrid.min.css 13KB
ui.jqgrid.min.css 13KB
mstyle_201710191953.css 12KB
public.css 12KB
fullcalendar.min.css 12KB
fullcalendar.min.css 12KB
layer.css 11KB
layer.css 11KB
layer.css 11KB
layer.css 11KB
layer.css 11KB
chosen.min.css 11KB
chosen.min.css 11KB
coupon.css 10KB
layui.mobile.css 10KB
layui.mobile.css 10KB
dropzone.min.css 9KB
dropzone.min.css 9KB
ace-ie.min.css 9KB
ace-ie.min.css 9KB
bootstrap-datetimepicker.min.css 8KB
bootstrap-datetimepicker.min.css 8KB
laydate.css 7KB
laydate.css 7KB
search.css 7KB
shaidan_base.css 7KB
iconfont.css 6KB
demo.css 6KB
laydate.css 6KB
laydate.css 6KB
laydate.css 6KB
laydate.css 6KB
daterangepicker.min.css 5KB
daterangepicker.min.css 5KB
video.css 5KB
video.css 5KB
ucenter.css 4KB
quan_detail.css 4KB
global.css 4KB
homepage.css 4KB
iconfont.css 4KB
shaidan_zdetail.css 4KB
bootstrap-colorpicker.min.css 4KB
bootstrap-colorpicker.min.css 4KB
共 2043 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
毕业_设计
- 粉丝: 1936
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MySQL是一种广泛使用的开源关系型数据库管理系统
- MySQL是一种广泛使用的开源关系型数据库管理系统
- MySQL是一种广泛使用的开源关系型数据库管理系统
- 012c3c44c465a099108e0d8570b86a70.zip
- 基于Java和JavaWeb的网上商城项目设计源码 - myshopping
- 基于Vue和JavaScript的书城项目设计源码 - Demo12.18
- wp2787778-map-wallpaper.jpg
- 基于Javascript的杜王町打工人仓库管理系统设计源码 - 杜王町打工人的仓库
- 基于C#的报销材料合并工具设计源码 - 报账材料合并
- 基于Java的驾校一点通后端服务设计源码 - jiaxiaoServer
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功