<?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
没有合适的资源?快使用搜索试试~ 我知道了~
最土团购商业版v2.0免费源码
共994个文件
gif:374个
php:281个
html:224个
3星 · 超过75%的资源 需积分: 10 167 下载量 74 浏览量
2010-10-29
13:54:29
上传
评论 4
收藏 2.33MB RAR 举报
温馨提示
最土团购商业版v2.0源码,免费下载,无购物车功能,希望有购物车插件的可以分享一下。
资源推荐
资源详情
资源评论
收起资源包目录
最土团购商业版v2.0免费源码 (994个子文件)
index.css 61KB
index.css 59KB
ui.css 9KB
ui.css 9KB
ui.css 9KB
ui.css 9KB
datepicker.css 5KB
datepicker.css 4KB
iframe.css 2KB
iframe.css 2KB
iframe.css 2KB
iframe.css 2KB
multiupload.css 1KB
WdatePicker.css 158B
bg-newbie-guide.gif 26KB
bg-newbie-guide.gif 25KB
how-it-works2.gif 20KB
how-it-works2.gif 20KB
how-it-works1.gif 19KB
how-it-works1.gif 19KB
how-it-works3.gif 19KB
how-it-works3.gif 19KB
learn-guide-mobile.gif 18KB
learn-guide-mobile.gif 18KB
learn-guide-buy.gif 12KB
learn-guide-buy.gif 12KB
bg-learn-guide-titles.gif 11KB
bg-learn-guide-titles.gif 10KB
learn-guide-sample.gif 9KB
crazy.gif 8KB
angry.gif 8KB
learn-guide-sample.gif 7KB
doubt.gif 7KB
faq-how-it-works2.gif 6KB
faq-how-it-works2.gif 6KB
wronged.gif 6KB
bg-referrals-box.gif 6KB
bg-referrals-box.gif 6KB
bg-consult-deal-buy.gif 6KB
bg-consult-deal-buy.gif 6KB
curse.gif 5KB
faq-how-it-works1.gif 5KB
faq-how-it-works1.gif 5KB
sleep.gif 5KB
faq-how-it-works3.gif 4KB
faq-how-it-works3.gif 4KB
quiet.gif 4KB
button-deal-buy_seconds.gif 4KB
button-deal-buy_seconds.gif 4KB
bg-pay-return-box.gif 4KB
bg-pay-return-box.gif 4KB
panic.gif 4KB
ohmy.gif 4KB
icons.gif 4KB
icons.gif 4KB
icons.gif 4KB
icons.gif 4KB
shutup.gif 4KB
awkward.gif 4KB
shy.gif 3KB
bg-deal-expired-text.gif 3KB
bg-deal-expired-text.gif 3KB
9.gif 3KB
bg-deal-soldout-text.gif 3KB
bg-deal-soldout-text.gif 3KB
bg-deal-expired-seconds.gif 3KB
bg-deal-expired-seconds.gif 3KB
mail-tpl-logo.gif 3KB
wail.gif 3KB
button-deal-buy.gif 3KB
button-deal-buy.gif 3KB
yeepay.gif 3KB
yeepay.gif 3KB
mail-tpl-view.gif 3KB
mail-tpl-view.gif 3KB
fastcry.gif 3KB
user-no-avatar.gif 3KB
user-no-avatar.gif 3KB
bg-deal-default-icons.gif 3KB
bg-deal-default-icons.gif 3KB
bg-deal-expired-success.gif 3KB
99bill.gif 3KB
99bill.gif 3KB
bg-sys-icons.gif 3KB
bg-sys-icons.gif 3KB
bg-sold-out.gif 3KB
icon_sdb_s.gif 3KB
icon_sdb_s.gif 3KB
bg-learn-guide-bubble.gif 2KB
bg-learn-guide-bubble.gif 2KB
cute.gif 2KB
bg-deal-subscribe-t.gif 2KB
bg-deal-subscribe-t.gif 2KB
logo.gif 2KB
logo.gif 2KB
icon_comm_s.gif 2KB
bg-deal-open.gif 2KB
icon_comm_s.gif 2KB
bg-deal-open.gif 2KB
icon_itic_s.gif 2KB
共 994 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
清风闲客
- 粉丝: 75
- 资源: 31
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页