Represents a subpart of an email message. It shares many similar attributes of ActionMailer::Base. Although you can create parts manually and add them to the #parts list of the mailer, it is easier to use the helper methods in ActionMailer::PartContainer.
| Public Methods | |
|---|---|
| new | Create a new part from the given params hash. The valid params keys correspond to the accessors. |
| to_ |
Convert the part to a mail object which can be included in the parts list of another mail object. |
| Private Methods | |
|---|---|
| squish | |
<code/>and<pre/>for code samples.