## [Zend_Mail] element index

### Package indexes

- Zend
- Zend_Cache
- Zend_Config
- Zend_Controller
- Zend_Db
- Zend_Feed
- Zend_Filter
- Zend_Http
- Zend_Json
- Zend_Log
- Zend_Mime
- Zend_Pdf
- Zend_Search
- Zend_Search_Lucene
- Zend_Service
- Zend_Uri
- Zend_View
- Zend_XmlRpc

All elements
_
top

$_bodyHtml
  Zend_Mail::$_bodyHtml in Mail.php
$_bodyText
  Zend_Mail::$_bodyText in Mail.php
$_charset
  Zend_Mail::$_charset in Mail.php
$_defaultTransport
  Zend_Mail::$_defaultTransport in Mail.php
$_from
  Zend_Mail::$_from in Mail.php
$_headers
  Zend_Mail::$_headers in Mail.php
$_mimeBoundary
  Zend_Mail::$_mimeBoundary in Mail.php
$_recipients
  Zend_Mail::$_recipients in Mail.php
$_subject
  Zend_Mail::$_subject in Mail.php
$_to
  Zend_Mail::$_to in Mail.php
_addRecipient
  Zend_Mail::_addRecipient() in Mail.php
  Add a recipient
_addRecipientAndHeader
  Zend_Mail::_addRecipientAndHeader() in Mail.php
  Helper function for adding a recipient and the corresponding header
_encodeHeader
  Zend_Mail::_encodeHeader() in Mail.php
  Encode header fields
_storeHeader
  Zend_Mail::_storeHeader() in Mail.php
  Add a header to the message
__construct
  Zend_Mail::__construct() in Mail.php
  Public constructor
$_con
  Zend_Mail_Transport_Smtp::$_con in Smtp.php
  Stream to SMTP Server
$_headers
  Zend_Mail_Transport_Abstract::$_headers in Abstract.php
  Array of message headers
$_host
  Zend_Mail_Transport_Smtp::$_host in Smtp.php
$_isMultipart
  Zend_Mail_Transport_Abstract::$_isMultipart in Abstract.php
  Message is a multipart message
$_mail
  Zend_Mail_Transport_Abstract::$_mail in Abstract.php
  Zend_Mail object
$_myName
  Zend_Mail_Transport_Smtp::$_myName in Smtp.php
$_parts
  Zend_Mail_Transport_Abstract::$_parts in Abstract.php
  Array of message parts
$_port
  Zend_Mail_Transport_Smtp::$_port in Smtp.php
_buildBody
  Zend_Mail_Transport_Abstract::_buildBody() in Abstract.php
  Generate MIME compliant message from the current configuration
_expect
  Zend_Mail_Transport_Smtp::_expect() in Smtp.php
  Read the response from the stream and
_formatHeader
  Zend_Mail_Transport_Abstract::_formatHeader() in Abstract.php
  Prepend header name to header value
_getHeaders
  Zend_Mail_Transport_Abstract::_getHeaders() in Abstract.php
  Return all mail headers as an array
_prepareHeaders
  Zend_Mail_Transport_Sendmail::_prepareHeaders() in Sendmail.php
  Format and fix headers
_prepareHeaders
  Zend_Mail_Transport_Abstract::_prepareHeaders() in Abstract.php
  Prepare header string for use in transport
_receive
  Zend_Mail_Transport_Smtp::_receive() in Smtp.php
  Get a line from the stream. includes error checking and debugging
_send
  Zend_Mail_Transport_Smtp::_send() in Smtp.php
  Send the given string followed by a LINEEND to the server
_sendMail
  Zend_Mail_Transport_Smtp::_sendMail() in Smtp.php
  Send an email
_sendMail
  Zend_Mail_Transport_Sendmail::_sendMail() in Sendmail.php
  Send mail using PHP native mail()
_sendMail
  Zend_Mail_Transport_Abstract::_sendMail() in Abstract.php
  Send an email independent from the used transport
__construct
  Zend_Mail_Transport_Smtp::__construct() in Smtp.php
  Constructor.

a
top

addAttachment
  Zend_Mail::addAttachment() in Mail.php
  Adds an attachment to the message
addBcc
  Zend_Mail::addBcc() in Mail.php
  Adds Bcc recipient
addCc
  Zend_Mail::addCc() in Mail.php
  Adds Cc-header and recipient
addHeader
  Zend_Mail::addHeader() in Mail.php
  Add a custom header to the message
addTo
  Zend_Mail::addTo() in Mail.php
  Adds To-header and recipient
Abstract.php
  Abstract.php in Abstract.php

b
top

$body
  Zend_Mail_Transport_Abstract::$body in Abstract.php
  Mail body
$boundary
  Zend_Mail_Transport_Abstract::$boundary in Abstract.php
  MIME boundary

c
top

connect
  Zend_Mail_Transport_Smtp::connect() in Smtp.php
  Connect to the server with the parameters given in the constructor and send "HELO". The connection is immediately closed if an error occurs.

d
top

data
  Zend_Mail_Transport_Smtp::data() in Smtp.php
  sends the DATA command followed by the email content (headers plus body) folowed by a dot and validates the response of the server.
disconnect
  Zend_Mail_Transport_Smtp::disconnect() in Smtp.php
  close an existing connection.

e
top

Exception.php
  Exception.php in Exception.php
Exception.php
  Exception.php in Exception.php
$EOL
  Zend_Mail_Transport_Sendmail::$EOL in Sendmail.php
  EOL character string
$EOL
  Zend_Mail_Transport_Abstract::$EOL in Abstract.php
  EOL character string used by transport
DEBUG
  Zend_Mail_Transport_Smtp::DEBUG in Smtp.php
Exception.php
  Exception.php in Exception.php

g
top

getBodyHtml
  Zend_Mail::getBodyHtml() in Mail.php
  Return Zend_Mime_Part representing body HTML
getBodyText
  Zend_Mail::getBodyText() in Mail.php
  Return text body Zend_Mime_Part
getCharset
  Zend_Mail::getCharset() in Mail.php
  Return charset string
getFrom
  Zend_Mail::getFrom() in Mail.php
  Returns the sender of the mail
getHeaders
  Zend_Mail::getHeaders() in Mail.php
  Return mail headers
getMimeBoundary
  Zend_Mail::getMimeBoundary() in Mail.php
  Return the boundary string used for the message
getPartCount
  Zend_Mail::getPartCount() in Mail.php
  Return a count of message parts
getRecipients
  Zend_Mail::getRecipients() in Mail.php
  Return list of recipient email addresses
getSubject
  Zend_Mail::getSubject() in Mail.php
  Returns the encoded subject of the message

h
top

$hasAttachments
  Zend_Mail::$hasAttachments in Mail.php
$header
  Zend_Mail_Transport_Abstract::$header in Abstract.php
  Mail header string
helo
  Zend_Mail_Transport_Smtp::helo() in Smtp.php
  Sends EHLO along with the given machine name and validates server response. If EHLO fails, HELO is sent for compatibility with older MTAs.

l
top

$lastResponse
  Zend_Mail_Transport_Smtp::$lastResponse in Smtp.php
  Last Response from the SMTP server, 1 Array Element per line

m
top

Mail.php
  Mail.php in Mail.php
mail_from
  Zend_Mail_Transport_Smtp::mail_from() in Smtp.php
  sends a MAIL command for the senders address and validates the response.

n
top

noop
  Zend_Mail_Transport_Smtp::noop() in Smtp.php
  Sends the NOOP command end validates answer Not used by Zend_Mail, could be used to keep a connection alive or check if it is still open.

o
top

COMMUNICATION_TIMEOUT
  Zend_Mail_Transport_Smtp::COMMUNICATION_TIMEOUT in Smtp.php
CONNECTION_TIMEOUT
  Zend_Mail_Transport_Smtp::CONNECTION_TIMEOUT in Smtp.php

q
top

quit
  Zend_Mail_Transport_Smtp::quit() in Smtp.php
  Sends the QUIT command and validates answer

r
top

$recipients
  Zend_Mail_Transport_Abstract::$recipients in Abstract.php
  Recipients string
rcpt_to
  Zend_Mail_Transport_Smtp::rcpt_to() in Smtp.php
  sends a RCPT command for a recipient address and validates the response.
rset
  Zend_Mail_Transport_Smtp::rset() in Smtp.php
  Sends the RSET command end validates answer Not used by Zend_Mail, can be used to restore a clean smtp communication state when a transaction has been cancelled.

s
top

send
  Zend_Mail::send() in Mail.php
  Sends this email using the given transport or a previously set DefaultTransport or the internal mail function if no default transport had been set.
setBodyHtml
  Zend_Mail::setBodyHtml() in Mail.php
  Sets the HTML body for the message
setBodyText
  Zend_Mail::setBodyText() in Mail.php
  Sets the text body for the message.
setDefaultTransport
  Zend_Mail::setDefaultTransport() in Mail.php
  Sets the default mail transport for all following uses of Zend_Mail::send();
setFrom
  Zend_Mail::setFrom() in Mail.php
  Sets From-header and sender of the message
setMimeBoundary
  Zend_Mail::setMimeBoundary() in Mail.php
  Set an arbitrary mime boundary for the message
setSubject
  Zend_Mail::setSubject() in Mail.php
  Sets the subject of the message
$subject
  Zend_Mail_Transport_Sendmail::$subject in Sendmail.php
  Subject
send
  Zend_Mail_Transport_Abstract::send() in Abstract.php
  Send a mail using this transport
Sendmail.php
  Sendmail.php in Sendmail.php
Smtp.php
  Smtp.php in Smtp.php

v
top

vrfy
  Zend_Mail_Transport_Smtp::vrfy() in Smtp.php
  Sends the VRFY command end validates answer The calling method needs to evaluate $this->lastResponse This function was implemented for completeness only.

z
top

Zend_Mail
  Zend_Mail in Mail.php
  Class for sending an email.
Zend_Mail_Exception
  Zend_Mail_Exception in Exception.php
Zend_Mime_Exception
  Zend_Mime_Exception in Exception.php
Zend_Mail_Transport_Abstract
  Zend_Mail_Transport_Abstract in Abstract.php
  Abstract for sending eMails through different ways of transport
Zend_Mail_Transport_Exception
  Zend_Mail_Transport_Exception in Exception.php
Zend_Mail_Transport_Sendmail
  Zend_Mail_Transport_Sendmail in Sendmail.php
  Class for sending eMails via the PHP internal mail() function
Zend_Mail_Transport_Smtp
  Zend_Mail_Transport_Smtp in Smtp.php
  SMTP connection object minimum implementation according to RFC2821: EHLO, MAIL FROM, RCPT TO, DATA, RSET, NOOP, QUIT