<?php
/*~ class.phpmailer.php
.---------------------------------------------------------------------------.
| Software: PHPMailer - PHP email class |
| Version: 5.1 |
| Contact: via sourceforge.net support pages (also www.worxware.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.worxware.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;
/**
* 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
没有合适的资源?快使用搜索试试~ 我知道了~
ThinkSNS2.0
共1204个文件
js:375个
php:251个
gif:218个
4星 · 超过85%的资源 需积分: 9 43 下载量 121 浏览量
2011-02-23
22:32:45
上传
评论
收藏 3.5MB ZIP 举报
温馨提示
新版的ThinkSNS将定位于基于微博客的多应用SNS系统,帮助用户打造注重交流、沟通的垂直类社区网站,新版本的ThinkSNS具备如下特性: 完整的微博系统 内置接入多个应用平台,无限应用扩展 支持wap,并提供手机客户端,包括iphone和android 多系统账号登录支持,新浪微博,豆瓣等 集成整合各社交媒体平台,账号绑定与关联 通过小插件和大型应用双重机制扩展. 应用的开发和扩展更加独立、灵活
资源推荐
资源详情
资源评论
收起资源包目录
ThinkSNS2.0 (1204个子文件)
editor_source.as 22KB
editor_source_binary_transfer.as 4KB
editor-pkg-min-mhtml.css 60KB
editor-pkg-min-datauri.css 37KB
layout.css 32KB
editor-pkg.css 19KB
editor-pkg.css 16KB
editor-pkg-min.css 13KB
public.css 11KB
editor-pkg-min.css 10KB
style.css 8KB
index.css 7KB
style.css 6KB
editor.css 4KB
editor-iframe.css 4KB
editor-common.css 4KB
ui.selectfriends.css 4KB
base.css 4KB
editor.css 3KB
editor-min.css 3KB
admin.css 3KB
box.css 3KB
button.css 3KB
select.css 3KB
button.css 3KB
register.css 3KB
editor-common-min.css 2KB
editor-min.css 2KB
select.css 2KB
public.css 2KB
editor-iframe-min.css 2KB
select-min.css 2KB
button-min.css 2KB
overlay.css 2KB
pagination.css 2KB
us_info.css 2KB
overlay.css 1KB
select-min.css 1KB
button-min.css 1KB
menu.css 1KB
overlay-min.css 1KB
base-min.css 1KB
overlay-min.css 1KB
draft.css 957B
menu.css 945B
imgareaselect-animated.css 786B
imgareaselect-default.css 778B
menu-min.css 747B
color-plugin.css 682B
imgareaselect-deprecated.css 651B
tab.css 630B
draft-min.css 628B
menu-min.css 625B
color-plugin.css 584B
style.css 570B
plugin.css 480B
draft.css 473B
tab-min.css 466B
bubbleview.css 411B
bubbleview.css 411B
color-plugin-min.css 390B
plugin-min.css 375B
color-plugin-min.css 375B
draft-min.css 337B
resize-plugin.css 308B
account.css 294B
resize-plugin.css 284B
bubbleview-min.css 242B
bubbleview-min.css 242B
resize-plugin-min.css 158B
resize-plugin-min.css 141B
cursor_zoom.cur 2KB
cursor_minify.cur 2KB
tinyipdata.dat 1.08MB
Thumbs.db 33KB
login_tit.gif 19KB
header_bg.gif 18KB
gm_l_f.gif 10KB
header_bg.gif 9KB
btn.gif 8KB
yiwen.gif 7KB
loading_mask.gif 7KB
message.gif 6KB
user_pic.gif 5KB
sicon.gif 5KB
html_clew_box.gif 5KB
html_clew_box.gif 5KB
loading.gif 5KB
gm_l_a.gif 4KB
tp_azzj2.gif 4KB
app.gif 4KB
gm_l_g.gif 4KB
msg.gif 4KB
huffy.gif 4KB
5.gif 4KB
big_icon.gif 4KB
thinksns.gif 4KB
big_icon.gif 3KB
big_icon.gif 3KB
ku.gif 3KB
共 1204 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13
资源评论
- 小雪屋2014-01-29不是完整版,没有计划任务
- 费尔巴哈2014-08-17具有对于不同版本具有很好的参考价值,不错的资源!
- shupbaby2013-03-04具有一定的参考价值
- a416692012-12-29完整版的还需要官网买呀
水上铁
- 粉丝: 38
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功