<?php
/*~ class.phpmailer.php
.---------------------------------------------------------------------------.
| Software: PHPMailer - PHP email class |
| Version: 5.0.2 |
| Contact: via sourceforge.net support pages (also www.codeworxtech.com) |
| Info: http://phpmailer.sourceforge.net |
| Support: http://sourceforge.net/projects/phpmailer/ |
| ------------------------------------------------------------------------- |
| Admin: Andy Prevost (project admininistrator) |
| Authors: Andy Prevost (codeworxtech) codeworxtech@users.sourceforge.net |
| : Marcus Bointon (coolbru) coolbru@users.sourceforge.net |
| Founder: Brent R. Matzelle (original founder) |
| 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. |
| ------------------------------------------------------------------------- |
| We offer a number of paid services (www.codeworxtech.com): |
| - Web Hosting on highly optimized fast and secure servers |
| - Technology Consulting |
| - Oursourcing (highly qualified programmers and graphic designers) |
'---------------------------------------------------------------------------'
*/
/**
* 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;
/**
* Provides the ability to change the line ending
* @var string
*/
public $LE = "\n";
/**
* Sets the PHPMailer Version number
* @var string
*/
public $Version = '5.0.2';
/////////////////////////////////////////////////
// PROPERTIES, PRIVATE AND PROTECTED
/////////////////////////////////////////////////
private $smtp = NULL;
private $to = array();
private $cc
没有合适的资源?快使用搜索试试~ 我知道了~
php人才系统 2.0 整合UC版.7z
共1176个文件
php:455个
gif:244个
html:146个
0 下载量 152 浏览量
2023-03-16
08:03:08
上传
评论
收藏 1.64MB 7Z 举报
温馨提示
php人才系统 2.0 整合UC版.7z
资源推荐
资源详情
资源评论
收起资源包目录
php人才系统 2.0 整合UC版.7z (1176个子文件)
spellchecker.cfm 5KB
css.css 28KB
fck_editor.css 8KB
fck_editor.css 8KB
fck_editor.css 8KB
css.css 7KB
fck_dialog.css 6KB
fck_dialog.css 6KB
fck_dialog.css 6KB
css.css 6KB
fck_internal.css 4KB
fck_editorarea.css 3KB
fck_dialog_common.css 2KB
fck_showtableborders_gecko.css 2KB
browser.css 2KB
css.css 1KB
spellerStyle.css 890B
css.css 261B
left-background.gif 40KB
6.gif 29KB
pic_3.gif 14KB
html.gif 10KB
htm.gif 10KB
file.gif 10KB
top.gif 10KB
fck_strip.gif 10KB
menu.gif 7KB
pay_yifubao.gif 6KB
logo.gif 6KB
fck_strip.gif 5KB
fck_strip.gif 5KB
9.gif 5KB
pay_chinabank.gif 5KB
2.gif 5KB
pay_alipay.gif 4KB
pay_99bill.gif 4KB
7.gif 4KB
14.gif 4KB
pay_tenpay.gif 4KB
13.gif 3KB
16.gif 3KB
1.gif 3KB
10.gif 3KB
8.gif 3KB
html.gif 2KB
htm.gif 2KB
htm.gif 2KB
html.gif 2KB
nav.gif 2KB
mp3.gif 2KB
wma.gif 2KB
wmv.gif 2KB
wma.gif 2KB
wmv.gif 2KB
mp3.gif 2KB
15.gif 2KB
4.gif 2KB
logo_fckeditor.gif 2KB
5.gif 2KB
loginout.gif 2KB
11.gif 2KB
rar.gif 2KB
rar.gif 2KB
fck_plugin.gif 2KB
dir.gif 2KB
dir.gif 2KB
3.gif 2KB
html.gif 1KB
htm.gif 1KB
rdp.gif 1KB
spellchecker_net.gif 1KB
step3.gif 1KB
step2.gif 1KB
step4.gif 1KB
step1.gif 1KB
12.gif 1KB
ai.gif 1KB
embaressed_smile.gif 1KB
box_bottom.gif 1KB
box_top.gif 1KB
css.gif 1KB
teeth_smile.gif 1KB
shades_smile.gif 1KB
tounge_smile.gif 1KB
wma.gif 1KB
mp3.gif 1KB
wav.gif 1KB
wink_smile.gif 1KB
sad_smile.gif 1KB
regular_smile.gif 1KB
jpeg.gif 1KB
jpg.gif 1KB
whatchutalkingabout_smile.gif 1KB
envelope.gif 1KB
gif.gif 1KB
db.gif 1KB
heart.gif 1012B
rm.gif 1006B
thumbs_down.gif 992B
bg.gif 990B
共 1176 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12
资源评论
BryanDing
- 粉丝: 299
- 资源: 5582
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功