addBcc()
addCc()
addFrom()
addReplyTo()
addTo()
fromString()
getBcc()
getBody()
getBodyText()
getCc()
getEncoding()
getFrom()
getHeaders()
getReplyTo()
getSender()
getSubject()
getTo()
isValid()
setBcc()
setBody()
setCc()
setEncoding()
setFrom()
setHeaders()
setReplyTo()
setSender()
setSubject()
setTo()
toString()
clearHeaderByName()
getAddressListFromHeader()
getHeaderByName()
updateAddressList()
$body
$encoding
$headers
addBcc(string | \Zend\Mail\Address | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressOrList, string | null $name) : \Zend\Mail\Message
string\Zend\Mail\Addressarray\Zend\Mail\AddressList\Traversable
stringnull
addCc(string | \Zend\Mail\Address | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressOrList, string | null $name) : \Zend\Mail\Message
string\Zend\Mail\Addressarray\Zend\Mail\AddressList\Traversable
stringnull
addFrom(string | \Zend\Mail\Address | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressOrList, string | null $name) : \Zend\Mail\Message
string\Zend\Mail\Addressarray\Zend\Mail\AddressList\Traversable
stringnull
addReplyTo(string | \Zend\Mail\Address\AddressInterface | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressOrList, null | string $name) : \Zend\Mail\Message
Appends to the list.
string\Zend\Mail\Address\AddressInterfacearray\Zend\Mail\AddressList\Traversable
nullstring
addTo(string | \Zend\Mail\Address\AddressInterface | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressOrList, null | string $name) : \Zend\Mail\Message
Appends to the list.
string\Zend\Mail\Address\AddressInterfacearray\Zend\Mail\AddressList\Traversable
nullstring
getBody() : object
object
getBodyText() : string
string
getEncoding() : string
string
getSender() : null | \Zend\Mail\Address\AddressInterface
getSubject() : null | string
null
string
isValid() : bool
If we don't any From addresses, we're invalid, according to RFC2822.
bool
setBcc(string | \Zend\Mail\Address\AddressInterface | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressList, string | null $name) : \Zend\Mail\Message
string\Zend\Mail\Address\AddressInterfacearray\Zend\Mail\AddressList\Traversable
stringnull
setBody(null | string | \Zend\Mime\Message | object $body) : \Zend\Mail\Message
nullstring\Zend\Mime\Messageobject
\Zend\Mail\Exception\InvalidArgumentException |
---|
setCc(string | \Zend\Mail\Address\AddressInterface | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressList, string | null $name) : \Zend\Mail\Message
string\Zend\Mail\Address\AddressInterfacearray\Zend\Mail\AddressList\Traversable
stringnull
setFrom(string | \Zend\Mail\Address\AddressInterface | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressList, string | null $name) : \Zend\Mail\Message
string\Zend\Mail\Address\AddressInterfacearray\Zend\Mail\AddressList\Traversable
stringnull
setReplyTo(string | \Zend\Mail\Address\AddressInterface | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressList, null | string $name) : \Zend\Mail\Message
string\Zend\Mail\Address\AddressInterfacearray\Zend\Mail\AddressList\Traversable
nullstring
setTo(string | \Zend\Mail\Address\AddressInterface | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressList, null | string $name) : \Zend\Mail\Message
string\Zend\Mail\Address\AddressInterfacearray\Zend\Mail\AddressList\Traversable
nullstring
toString() : string
string
clearHeaderByName(string $headerName)
string
getAddressListFromHeader(string $headerName, string $headerClass) : \Zend\Mail\AddressList
Used with To, From, Cc, Bcc, and ReplyTo headers. If the header does not exist, instantiates it.
string
string
\Zend\Mail\Exception\DomainException |
---|
getHeaderByName(string $headerName, string $headerClass) : \Zend\Mail\Header\HeaderInterface | \ArrayIterator
If not found, instantiates one based on $headerClass.
string
string
\Zend\Mail\Header\HeaderInterface
\ArrayIterator
header instance or collection of headersupdateAddressList(\Zend\Mail\AddressList $addressList, string | \Zend\Mail\Address\AddressInterface | array | \Zend\Mail\AddressList | \Traversable $emailOrAddressOrList, null | string $name, string $callingMethod)
Proxied to this from addFrom, addTo, addCc, addBcc, and addReplyTo.
\Zend\Mail\AddressList
string\Zend\Mail\Address\AddressInterfacearray\Zend\Mail\AddressList\Traversable
nullstring
string
\Zend\Mail\Exception\InvalidArgumentException |
---|
$body : string | object
$encoding : string
Used to determine whether or not to encode headers; defaults to ASCII.