CreateDraftEmailMessageInput

public struct CreateDraftEmailMessageInput

input object for creating a draft email message using SudoEmailClient The email address in the From field of the RFC6854 data must match either the maskAddress of the Email Mask associated with the emailMaskId property, if provided, otherwise the emailAddress of the Email Address associated with the senderEmailAddressId property.

  • Draft email message data formatted under the RFC 6854, which supercedes RFC822.

    Declaration

    Swift

    public var rfc822Data: Data
  • The identifier of the email address used to send the email.

    Declaration

    Swift

    public var senderEmailAddressId: String
  • Optional identifier of the email mask associated with the draft email message.

    Declaration

    Swift

    public var emailMaskId: String?
  • Declaration

    Swift

    public init(rfc822Data: Data, senderEmailAddressId: String, emailMaskId: String? = nil)