Zend\Mime\Message
Synopsis
class Message
{
- // methods
- public array getParts()
- public void setParts()
- public void addPart()
- public bool isMultiPart()
- public void setMime()
- public Mime getMime()
- public string generateMessage()
- public array getPartHeadersArray()
- public string getPartHeaders()
- public string getPartContent()
- protected static array _disassembleMime()
- public static Message createFromMessage()
Tasks
Line | Task |
---|---|
45 | check for duplicate object handle |
230 | check for characterset and filename |
Members
protected
- $mime
- $parts
Methods
protected
- _disassembleMime() — Explode MIME multipart string into separate parts
public
- addPart() — Append a new Zend\Mime\Part to the current message
- createFromMessage() — Decodes a MIME encoded string and returns a Zend\Mime\Message object with all the MIME parts set according to the given string
- generateMessage() — Generate MIME-compliant message from the current configuration
- getMime() — Returns the Zend\Mime\Mime object in use by the message
- getPartContent() — Get the (encoded) content of a given part as a string
- getPartHeaders() — Get the headers of a given part as a string
- getPartHeadersArray() — Get the headers of a given part as an array
- getParts() — Returns the list of all Zend\Mime\Part in the message
- isMultiPart() — Check if message needs to be sent as multipart MIME message or if it has only one part.
- setMime() — Set Zend\Mime\Mime object for the message
- setParts() — Sets the given array of Zend\Mime\Part as the array for the message