Flowdock
method

set_content_type

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActionMailer::Base
set_content_type(m, user_content_type, class_default) protected

Used by #mail to set the content type of the message.

It will use the given user_content_type, or multipart if the mail message has any attachments. If the attachments are inline, the content type will be “multipart/related”, otherwise “multipart/mixed”.

If there is no content type passed in via headers, and there are no attachments, or the message is multipart, then the default content type is used.

Show source
Register or log in to add new notes.