Mime is the underbelly for Messages, Attachments, Parts, Embedded Images, Forwarded Mail, etc
In fact, every single component of the composed email is simply a new Mime document nested inside another When you piece an email together in this way you see just how straight-forward it really is
Located in /Swift/Message/Mime.php (line 23)
Class | Description |
---|---|
Swift_Message_Attachment | Attachment component for Swift Mailer |
Swift_Message_Part | MIME Part body component for Swift Mailer |
Swift_Message | Swift Message class |
A list of used MIME boundaries after they're generated.
The boundary used to separate mime parts
An instance of Swift_Cache
Nested mime parts
The body of the documented (unencoded)
The header part of this MIME document
The line ending characters needed
Maximum line length
Compute a unique boundary
Constructor
Nest a child mime part in this document
Compile the entire MIME document into a string The returned string may be used in other documents if needed.
Get the data in the format suitable for sending
Get a child document, identified by $id
Get the content type which has been set
The MIME 1.0 Content-Type is provided as a string
Return the string which makes up the body of this MIME document
Get the encoding format used in this document
Get the line ending sequence
Get the level at which this mime part would appear in a document
One of "mixed", "alternative" or "related"
Check if a child exists identified by $id
List the IDs of all children in this document
Get the total number of children present in this document
Execute any logic needed prior to building
Remove a part from the document
Set the content type of this MIME document
Specify the string which makes up the body of this message HINT: You can always nest another MIME document here if you call it's build() method.
$data can be an object of Swift_File or a string
Set the encoding format to be used on the body of the document
Replace the current headers with new ones
DO NOT DO THIS UNLESS YOU KNOW WHAT YOU'RE DOING!
Set the line ending character to use
Set the size at which lines wrap around (includes the CRLF)
Reset the entire cache state from this branch of the tree and traversing down through the children
Constant for HTML emails
Constant for MIME sections which must appear in the multipart/alternative section.
Constant for MIME sections which must appear in the multipart/mixed section.
Constant for MIME sections which must appear in the multipart/related section.
Constant for MIME sections which must appear in the multipart/mixed section.
Constant for miscellaneous mime type
Constant for plain-text emails
Constant for safe line length in almost all places
Constant for really safe line length
Documentation generated on Wed, 26 Mar 2008 20:33:09 +1100 by phpDocumentor 1.3.1