UpdateDraftEmailMessageInput

public struct UpdateDraftEmailMessageInput

input object for updating 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.

  • id

    The identifier of the draft email message to update.

    Declaration

    Swift

    public var id: String
  • Draft email message data formatted under the RFC 6854, which supercedes RFC822. This will completely replace the existing data.

    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(id: String, rfc822Data: Data, senderEmailAddressId: String, emailMaskId: String? = nil)