get_raw_message_content

get_raw_message_content(**kwargs)

Retrieves the raw content of an in-transit email message, in MIME format.

See also: AWS API Documentation

Request Syntax

response = client.get_raw_message_content(
    messageId='string'
)
Parameters
messageId (string) --

[REQUIRED]

The identifier of the email message to retrieve.

Return type
dict
Returns
Response Syntax
{
    'messageContent': StreamingBody()
}

Response Structure

  • (dict) --
    • messageContent (StreamingBody) --

      The raw content of the email message, in MIME format.

Exceptions

  • WorkMailMessageFlow.Client.exceptions.ResourceNotFoundException