Message
A message object represents a message that is either in the process of being received, is queued, is in the process of being delivered, or has just been delivered.
Messages are created by the system and are then passed to your policy script via various events when the system needs your input into acting on the message.
Available Methods
- add_authentication_results
- append_header
- append_text_html
- append_text_plain
- check_fix_conformance
- dkim_sign
- dkim_verify
- from_header
- get_address_header
- get_all_headers
- get_all_named_header_values
- get_data
- get_first_named_header_value
- get_meta
- id
- import_scheduling_header
- import_x_headers
- num_attempts
- parse_rfc3464
- prepend_header
- queue_name
- recipient
- remove_all_named_headers
- remove_x_headers
- save
- sender
- set_data
- set_due
- set_force_sync
- set_meta
- set_recipient
- set_scheduling
- set_sender
- to_header