class Mail::Part

Defined in:

mail/part.cr

Instance Method Summary

Instance methods inherited from class Mail::Message

add_part(part) add_part, all_parts all_parts, body(value = nil) body, body=(value) body=, body_lazy(value) body_lazy, boundary boundary, charset charset, charset=(value : String) charset=, content_transfer_encoding(val = nil) content_transfer_encoding, content_transfer_encoding=(val) content_transfer_encoding=, content_type(val = nil) content_type, content_type=(val) content_type=, content_type_parameters content_type_parameters, default(str, val = nil) default, envelope_date envelope_date, envelope_from envelope_from, find_first_mime_type(ct) find_first_mime_type, from(val = nil) from, from=(val) from=, has_content_transfer_encoding? has_content_transfer_encoding?, has_content_type? has_content_type?, header(value = nil) header, header=(value) header=, html_part
html_part(&block)
html_part
, main_type main_type, mime_type mime_type, multipart? multipart?, parts parts, raw_envelope : String? raw_envelope, raw_source : String raw_source, raw_source=(raw_source : String) raw_source=, set_envelope(raw_envelope : String) set_envelope, text_part
text_part(&block)
text_part
, text_part=(msg) text_part=, to(val = nil) to, to=(val) to=

Constructor methods inherited from class Mail::Message

new(raw_source = "", body : Body = Body.new) new

Class methods inherited from class Mail::Message

charset : String charset, charset=(charset : String) charset=

Instance Method Detail

def add_required_message_fields #

[View source]
def bounced? #

[View source]
def delivery_status_report_part? #

[View source]
def has_content_id? #

Returns true if the part has a content ID field, the field may or may not have a value, but the field exists or not.


[View source]