:doc:`MailManager <../../mailmanager>` / Client / get_archive_message_content

***************************
get_archive_message_content
***************************



.. py:method:: MailManager.Client.get_archive_message_content(**kwargs)

  

  Returns the textual content of a specific email message stored in the archive. Attachments are not included.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/GetArchiveMessageContent>`_  


  **Request Syntax**
  ::

    response = client.get_archive_message_content(
        ArchivedMessageId='string'
    )
    
  :type ArchivedMessageId: string
  :param ArchivedMessageId: **[REQUIRED]** 

    The unique identifier of the archived email message.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Body': {
              'Text': 'string',
              'Html': 'string',
              'MessageMalformed': True|False
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The response containing the textual content of the requested archived email message.

      
      

      - **Body** *(dict) --* 

        The textual body content of the email message.

        
        

        - **Text** *(string) --* 

          The plain text body content of the message.

          
        

        - **Html** *(string) --* 

          The HTML body content of the message.

          
        

        - **MessageMalformed** *(boolean) --* 

          A flag indicating if the email was malformed.

          
    
  
  **Exceptions**
  
  *   :py:class:`MailManager.Client.exceptions.ValidationException`

  
  *   :py:class:`MailManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`MailManager.Client.exceptions.ThrottlingException`

  