class Mail::Message
def add_message_id(msg_id_val = '')
specifying a message id.
a unique message ID if you try and encode it or output it to_s without
into the Header. The MessageIdField object will automatically generate
Creates a new empty Message-ID field and inserts it in the correct order
def add_message_id(msg_id_val = '') header['message-id'] = msg_id_val end
Class Methods
Instance Methods
- # <=>
- # ==
- # []
- # []=
- # action
- # add_boundary
- # add_charset
- # add_content_transfer_encoding
- # add_content_type
- # add_date
- # add_encoding_to_body
- # add_file
- # add_message_id
- # add_mime_version
- # add_multipart_alternate_header
- # add_multipart_mixed_header
- # add_part
- # add_required_fields
- # add_required_message_fields
- # all_parts
- # allowed_encodings
- # attachment
- # attachment?
- # attachments
- # bcc
- # bcc=
- # bcc_addrs
- # body
- # body=
- # body_encoding
- # body_encoding=
- # body_lazy
- # bounced?
- # boundary
- # cc
- # cc=
- # cc_addrs
- # charset
- # charset=
- # comments
- # comments=
- # content_description
- # content_description=
- # content_disposition
- # content_disposition=
- # content_id
- # content_id=
- # content_location
- # content_location=
- # content_transfer_encoding
- # content_transfer_encoding=
- # content_type
- # content_type=
- # content_type_parameters
- # convert_to_multipart
- # date
- # date=
- # decode_body
- # decode_body_as_text
- # decoded
- # default
- # deliver
- # deliver!
- # delivery_method
- # delivery_status_part
- # delivery_status_report?
- # destinations
- # diagnostic_code
- # do_delivery
- # encoded
- # envelope_date
- # envelope_from
- # error_status
- # errors
- # filename
- # final_recipient
- # find_attachment
- # find_first_mime_type
- # from
- # from=
- # from_addrs
- # has_attachments?
- # has_charset?
- # has_content_transfer_encoding?
- # has_content_type?
- # has_date?
- # has_message_id?
- # has_mime_version?
- # header
- # header=
- # header_fields
- # headers
- # html_part
- # html_part=
- # identify_and_set_transfer_encoding
- # in_reply_to
- # in_reply_to=
- # inform_interceptors
- # inform_observers
- # init_with_hash
- # init_with_string
- # initialize
- # initialize_copy
- # inspect
- # inspect_structure
- # is_marked_for_delete?
- # keywords
- # keywords=
- # main_type
- # mark_for_delete=
- # message_id
- # message_id=
- # method_missing
- # mime_type
- # mime_version
- # mime_version=
- # multipart?
- # multipart_report?
- # parse_message
- # part
- # parts
- # process_body_raw
- # raw_envelope
- # raw_source
- # raw_source=
- # read
- # ready_to_send!
- # received
- # received=
- # references
- # references=
- # remote_mta
- # reply
- # reply_to
- # reply_to=
- # resent_bcc
- # resent_bcc=
- # resent_cc
- # resent_cc=
- # resent_date
- # resent_date=
- # resent_from
- # resent_from=
- # resent_message_id
- # resent_message_id=
- # resent_sender
- # resent_sender=
- # resent_to
- # resent_to=
- # retryable?
- # return_path
- # return_path=
- # sender
- # sender=
- # separate_parts
- # set_envelope
- # set_envelope_header
- # skip_deletion
- # smtp_envelope_from
- # smtp_envelope_from=
- # smtp_envelope_to
- # smtp_envelope_to=
- # sub_type
- # subject
- # subject=
- # text?
- # text_part
- # text_part=
- # to
- # to=
- # to_addrs
- # to_s
- # to_yaml
- # transport_encoding
- # transport_encoding=
- # without_attachments!