AWSPinpointTargetingEmailMessage

Objective-C

@interface AWSPinpointTargetingEmailMessage

Swift

class AWSPinpointTargetingEmailMessage

Specifies the default settings and content for a one-time email message that’s sent directly to an endpoint.

  • The body of the email message.

    Declaration

    Objective-C

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

    Swift

    var body: String? { get set }
  • The email address to forward bounces and complaints to, if feedback forwarding is enabled.

    Declaration

    Objective-C

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

    Swift

    var feedbackForwardingAddress: String? { get set }
  • The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.

    Declaration

    Objective-C

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

    Swift

    var fromAddress: String? { get set }
  • The email message, represented as a raw MIME message.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSPinpointTargetingRawEmail *_Nullable rawEmail;

    Swift

    var rawEmail: AWSPinpointTargetingRawEmail? { get set }
  • The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable replyToAddresses;

    Swift

    var replyToAddresses: [String]? { get set }
  • The email message, composed of a subject, a text part, and an HTML part.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSPinpointTargetingSimpleEmail *_Nullable simpleEmail;

    Swift

    var simpleEmail: AWSPinpointTargetingSimpleEmail? { get set }
  • The default message variables to use in the email message. You can override the default variables with individual address variables.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSArray<NSString *> *> *_Nullable substitutions;

    Swift

    var substitutions: [String : [String]]? { get set }