Module mimefactory

Module mimefactory 

Source
Expand description

ยงMIME message production.

Structsยง

HeadersByConfidentiality ๐Ÿ”’
MimeFactory
Helper to construct mime messages.
RenderedEmail
Result of rendering a message, ready to be submitted to a send job.

Enumsยง

Loaded
PreMessageMode

Constantsยง

RECOMMENDED_FILE_SIZE

Functionsยง

add_headers_to_encrypted_part ๐Ÿ”’
b_encode ๐Ÿ”’
Encodes UTF-8 string as a single B-encoded-word.
build_avatar_file ๐Ÿ”’
build_body_file ๐Ÿ”’
group_headers_by_confidentiality ๐Ÿ”’
Split headers based on header confidentiality policy. See HeadersByConfidentiality for more info.
hidden_recipients ๐Ÿ”’
must_have_only_one_recipient ๐Ÿ”’
Some messages sent into outgoing broadcast channels (member-added/member-removed) should only go to a single recipient, rather than all recipients. This function returns the fingerprint of the recipient the message should be sent to.
new_address_with_name ๐Ÿ”’
recipients_contain_addr ๐Ÿ”’
render_outer_message ๐Ÿ”’
Stores the unprotected headers on the outer message, and renders it.
render_rfc724_mid ๐Ÿ”’
render_symm_encrypted_securejoin_message ๐Ÿ”’
should_encrypt_symmetrically ๐Ÿ”’
should_encrypt_with_broadcast_secret ๐Ÿ”’
should_hide_recipients ๐Ÿ”’
wrap_encrypted_part ๐Ÿ”’
Takes the encrypted part, wraps it in a MimePart, and sets the appropriate Content-Type for the outer message