Class: ActionMailer::Part

Class | ActionMailer::Part
In: | lib/action_mailer/part.rb
Parent: | Object

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.

### Methods

new to_mail

### Included Modules

ActionMailer::AdvAttrAccessor ActionMailer::PartContainer

### Public Class methods

new(params)

Create a new part from the given `params` hash. The valid params keys correspond to the accessors.

### Public Instance methods

to_mail(defaults)

Convert the part to a mail object which can be included in the parts list of another mail object.

[Validate]