Inherited Variables
Class: phpmailer
- phpmailer::$AltBody
- phpmailer::$attachment
- phpmailer::$bcc
- phpmailer::$Body
- phpmailer::$boundary
- phpmailer::$cc
- phpmailer::$CharSet
- phpmailer::$ConfirmReadingTo
- phpmailer::$ContentType
- phpmailer::$CustomHeader
- phpmailer::$Encoding
- phpmailer::$ErrorInfo
- phpmailer::$From
- phpmailer::$FromName
- phpmailer::$Helo
- phpmailer::$Host
- phpmailer::$Hostname
- phpmailer::$LE
- phpmailer::$Mailer
- phpmailer::$message_type
- phpmailer::$Password
- phpmailer::$PluginDir
- phpmailer::$Port
- phpmailer::$Priority
- phpmailer::$ReplyTo
- phpmailer::$Sender
- phpmailer::$Sendmail
- phpmailer::$SMTPAuth
- phpmailer::$SMTPDebug
- phpmailer::$Subject
- phpmailer::$Timeout
- phpmailer::$to
- phpmailer::$UseMSMailHeaders
- phpmailer::$Username
- phpmailer::$Version
- phpmailer::$WordWrap
Inherited Constants
Inherited Methods
Class: phpmailer
- phpmailer::AddAddress()
- Adds a "To" address. Returns void.
- phpmailer::AddAttachment()
- Adds an attachment from a path on the filesystem.
- phpmailer::AddBCC()
- Adds a "Bcc" address. Note: this function works
- phpmailer::AddCC()
- Adds a "Cc" address. Note: this function works
- phpmailer::AddCustomHeader()
- Adds a custom header. Returns void.
- phpmailer::AddEmbeddedImage()
- Adds an embedded attachment. This can include images, sounds, and just about any other document.
- phpmailer::AddMSMailHeaders()
- Adds all the Microsoft message headers. Returns string.
- phpmailer::AddReplyTo()
- Adds a "Reply-to" address. Returns void.
- phpmailer::addr_append()
- Creates recipient headers. Returns string.
- phpmailer::addr_format()
- Formats an address correctly.
- phpmailer::addr_list()
- Creates a semicolon delimited list for use in pqm files.
- phpmailer::AddStringAttachment()
- Adds a string or binary attachment (non-filesystem) to the list.
- phpmailer::attach_all()
- Attaches all fs, string, and binary attachments to the message.
- phpmailer::ClearAddresses()
- Clears all recipients assigned in the TO array. Returns void.
- phpmailer::ClearAllRecipients()
- Clears all recipients assigned in the TO, CC and BCC array. Returns void.
- phpmailer::ClearAttachments()
- Clears all previously set filesystem, string, and binary attachments. Returns void.
- phpmailer::ClearBCCs()
- Clears all recipients assigned in the BCC array. Returns void.
- phpmailer::ClearCCs()
- Clears all recipients assigned in the CC array. Returns void.
- phpmailer::ClearCustomHeaders()
- Clears all custom headers. Returns void.
- phpmailer::ClearReplyTos()
- Clears all recipients assigned in the ReplyTo array. Returns void.
- phpmailer::create_body()
- Assembles the message body. Returns a string if successful or false if unsuccessful.
- phpmailer::create_header()
- Assembles message header. Returns a string if successful or false if unsuccessful.
- phpmailer::EmbeddedImageCount()
- Returns the number of embedded images in an email.
- phpmailer::encode_file()
- Encodes attachment in requested format. Returns a string if successful or false if unsuccessful.
- phpmailer::encode_header()
- Encode a header string to best of Q, B, quoted or none. Returns a string.
- phpmailer::encode_q()
- Encode string to q encoding. Returns a string.
- phpmailer::encode_qp()
- Encode string to quoted-printable. Returns a string.
- phpmailer::encode_string()
- Encodes string to requested format. Returns a string if successful or false if unsuccessful.
- phpmailer::error_handler()
- Adds the error message to the error container.
- phpmailer::fix_eol()
- Changes every end of line from CR or LF to CRLF. Returns string.
- phpmailer::get_server_hostname()
- Returns the server hostname or 'localhost.localdomain' if unknown.
- phpmailer::get_server_var()
- Returns the appropriate server variable. Should work with both PHP 4.1.0+ as well as older versions. Returns an empty string if nothing is found.
- phpmailer::IsHTML()
- Sets message type to HTML. Returns void.
- phpmailer::IsMail()
- Sets Mailer to send message using PHP mail() function.
- phpmailer::IsQmail()
- Sets Mailer to send message using the qmail MTA. Returns void.
- phpmailer::IsSendmail()
- Sets Mailer to send message using the $Sendmail program.
- phpmailer::IsSMTP()
- Sets Mailer to send message using SMTP.
- phpmailer::mail_send()
- Sends mail using the PHP mail() function. Returns bool.
- phpmailer::received()
- Returns received header for message tracing. Returns string.
- phpmailer::rfc_date()
- Returns the proper RFC 822 formatted date. Returns string.
- phpmailer::Send()
- Creates message and assigns Mailer. If the message is not sent successfully then it returns false. Use the ErrorInfo variable to view description of the error. Returns bool.
- phpmailer::sendmail_send()
- Sends mail using the $Sendmail program. Returns bool.
- phpmailer::SendToQueue()
- Sends mail message to an assigned queue directory. Has an optional sendTime argument. This is used when the user wants the message to be sent from the queue at a predetermined time.
- phpmailer::SetWordWrap()
- Set the body wrapping.
- phpmailer::smtp_send()
- Sends mail via SMTP using PhpSMTP (Author: Chris Ryan). Returns bool. Returns false if there is a bad MAIL FROM, RCPT, or DATA input.
- phpmailer::word_wrap()
- Wraps message for use with mailers that do not automatically perform wrapping and for quoted-printable.
Class Details
Tags:
- author - Juan Belon
- version - 1.0
- copyright - LGPL, GPL
- access - public
- uses - zenphp - FrameWork
[ Top ]
Class Variables
$bd
[ Top ]
$padre
[ Top ]
$pieAutor
[line 58]
Pie extra por autor
Type: str
Overrides:
[ Top ]
$textoAutor
[line 52]
Texto extra por autor
Type: str
Overrides:
[ Top ]
$url = ZF_SITIO_WEB
[line 38]
Direccion para poner en los correos
Type: str
Overrides:
[ Top ]
Class Methods
zen_correo
zen_correo zen_correo(
&$padre, zen
$padre)
[line 67]
Constructor de la clase de correos
Parameters:
- zen $padre -
- &$padre -
[ Top ]
construyeCuerpo
str construyeCuerpo(
)
[line 107]
Rellena las variables de la clase con el HTML del correo a enviar
Tags:
- return - : html
Parameters:
[ Top ]
destructor
void destructor(
)
[line 119]
Destructor de la clase correo
Parameters:
[ Top ]
enviarCorreo
boolean enviarCorreo(
[str
$subject = "Tema del correo"], [str
$cuerpo = "Cuerpo del correo en HTML si quieres <b>:p</b>"], [str
$destino = ZF_CORREO_ADMIN])
[line 89]
Envia un correo rellenandolo con una plantilla y la informacion pasada a los destinarios. Devuelve el resultado del envio.
Parameters:
- str $subject -
- str $cuerpo -
- str $destino -
[ Top ]