AWSSESAddHeaderAction

Objective-C

@interface AWSSESAddHeaderAction

Swift

class AWSSESAddHeaderAction

When included in a receipt rule, this action adds a header to the received email.

For information about adding a header using a receipt rule, see the Amazon SES Developer Guide.

Required parameters: [HeaderName, HeaderValue]

  • The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable headerName;

    Swift

    var headerName: String? { get set }
  • Must be less than 2048 characters, and must not contain newline characters (“\r” or “\n”).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable headerValue;

    Swift

    var headerValue: String? { get set }