Ver Mensaje Individual
  #5 (permalink)  
Antiguo 30/07/2008, 08:58
Avatar de oppjpp
oppjpp
 
Fecha de Ingreso: octubre-2007
Mensajes: 304
Antigüedad: 16 años, 6 meses
Puntos: 2
Respuesta: Formulario para que envien archivos

Cita:
<?php
////////////////////////////////////////////////////
// PHPMailer - PHP email class
//
// Class for sending email using either
// sendmail, PHP mail(), or SMTP. Methods are
// based upon the standard AspEmail(tm) classes.
//
// Copyright (C) 2001 - 2003 Brent R. Matzelle
//
// License: LGPL, see LICENSE
////////////////////////////////////////////////////

/**
* PHPMailer - PHP email transport class
* @package PHPMailer
* @author Brent R. Matzelle
* @copyright 2001 - 2003 Brent R. Matzelle
*/
class PHPMailer
{
/////////////////////////////////////////////////
// PUBLIC VARIABLES
/////////////////////////////////////////////////

/**
* Email priority (1 = High, 3 = Normal, 5 = low).
* @var int
*/
var $Priority = 3;

/**
* Sets the CharSet of the message.
* @var string
*/
var $CharSet = "iso-8859-1";

/**
* Sets the Content-type of the message.
* @var string
*/
var $ContentType = "text/plain";

/**
* Sets the Encoding of the message. Options for this are "8bit",
* "7bit", "binary", "base64", and "quoted-printable".
* @var string
*/
var $Encoding = "8bit";

/**
* Holds the most recent mailer error message.
* @var string
*/
var $ErrorInfo = "";

/**
* Sets the From email address for the message.
* @var string
*/
var $From = "root@localhost";

/**
* Sets the From name of the message.
* @var string
*/
var $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
*/
var $Sender = "[email protected]";

/**
* Sets the Subject of the message.
* @var string
*/
var $Subject = "";

/**
* Sets the Body of the message. This can be either an HTML or text body.
* If HTML then run IsHTML(true).
* @var string
*/
var $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
*/
var $AltBody = "";

/**
* Sets word wrapping on the body of the message to a given number of
* characters.
* @var int
*/
var $WordWrap = 0; . . .