MessageHeader - Amazon Simple Email Service
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

MessageHeader

Contains the name and value of a message header that you add to an email.

Contents

Name

The name of the message header. The message header name has to meet the following criteria:

  • Can contain any printable ASCII character (33 - 126) except for colon (:).

  • Can contain no more than 126 characters.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 126.

Pattern: ^[!-9;-@A-~]+$

Required: Yes

Value

The value of the message header. The message header value has to meet the following criteria:

  • Can contain any printable ASCII character.

  • Can contain no more than 870 characters.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 870.

Pattern: [ -~]*

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: