Message
Object Hierarchy:
Description:
A MIME Message object.
Namespace: GMime
  
  Package: gmime-3.0
  
  Content:
Creation methods:
- public Message (bool pretty_headers)
      
      Ifpretty_headersis true, then the standard rfc822 headers are initialized so as to put headers in a nice friendly order.
Methods:
- public void @foreach (ObjectForeachFunc callback)
      
      Recursively callscallbackon each of the mime parts in the mime message.
- public void add_mailbox (AddressType type, string name, string addr)
      
      Add a mailbox of a chosen type to the MIME message.
- public unowned InternetAddressList get_addresses (AddressType type)
      
      Gets a list of addresses of the specifiedtypefrom the this.
- public InternetAddressList get_all_recipients ()
      
      Gets the complete list of recipients for this .
- public AutocryptHeaderList? get_autocrypt_gossip_headers (DateTime now, DecryptFlags flags, string session_key) throws Error
      
      Creates a new AutocryptHeaderList of relevant headers of the given type based on the recipient(s) of an e-mail message.
- public AutocryptHeaderList? get_autocrypt_gossip_headers_from_inner_part (DateTime now, Object inner_part)
      
      Creates a new AutocryptHeaderList of relevant headers of the given type based on the recipient(s) of an e-mail message.
- public AutocryptHeader? get_autocrypt_header (DateTime now)
      
      Creates a new AutocryptHeader based on the relevant Autocrypt header associated with the sender of an e-mail message.
- public unowned InternetAddressList get_bcc ()
      
      Gets combined list of parsed addresses in the Bcc header(s).
- public unowned Object? get_body ()
      
      Attempts to identify the MIME part containing the body of the message.
- public unowned InternetAddressList get_cc ()
      
      Gets combined list of parsed addresses in the Cc header(s).
- public unowned DateTime? get_date ()
      
      Gets the parsed date and time value from the Date header.
- public unowned InternetAddressList get_from ()
      
      Gets the parsed list of addresses in the From header.
- public unowned string? get_message_id ()
      
      Gets the Message-Id header of this.
- public unowned Object? get_mime_part ()
      
      Gets the toplevel MIME part contained within this .
- public unowned InternetAddressList get_reply_to ()
      
      Gets the parsed list of addresses in the Reply-To header.
- public unowned InternetAddressList get_sender ()
      
      Gets the parsed list of addresses in the Sender header.
- public unowned string? get_subject ()
      
      Gets the subject of the this.
- public unowned InternetAddressList get_to ()
      
      Gets combined list of parsed addresses in the To header(s).
- public Message? partial_split_message (size_t max_size, out size_t nparts)
      
      Splits this into an array of Message objects each containing a single MessagePartial object containingmax_sizebytes or fewer.
- public void set_date (DateTime date)
      
      Sets the Date header on a MIME Message.
- public void set_message_id (string message_id)
      
      Set the Message-Id on a message.
- public void set_mime_part (Object mime_part)
      
      Set the root-level MIME part of the message.
- public void set_subject (string subject, string charset)
      
      Set the subject of a this.
Fields:
- public unowned InternetAddressList addrlists
      
      
- public unowned DateTime date
      
      
- public unowned string message_id
      
      
- public unowned Object mime_part
      
      
- public unowned string subject
      
      
Inherited Members:
All known members inherited from class GMime.Object
    All known members inherited from class GLib.Object