

# MessageHeader


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

## Contents


 ** Name **   <a name="SES-Type-MessageHeader-Name"></a>
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 **   <a name="SES-Type-MessageHeader-Value"></a>
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 995 characters.
+ The combined length of the header name and value must not exceed 996 characters.
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 995.  
Pattern: `[ -~]*`   
Required: Yes

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/sesv2-2019-09-27/MessageHeader) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sesv2-2019-09-27/MessageHeader) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sesv2-2019-09-27/MessageHeader) 