MailSettings

public struct MailSettings : Encodable

The MailSetting struct houses any mail settings an email should be configured with.

  • bcc

    The BCC setting.

    Declaration

    Swift

    public var bcc: BCCSetting?
  • The bypass list management setting.

    Declaration

    Swift

    public var bypassListManagement: BypassListManagement?
  • The footer setting.

    Declaration

    Swift

    public var footer: Footer?
  • The sandbox mode setting.

    Declaration

    Swift

    public var sandboxMode: SandboxMode?
  • The spam checker setting.

    Declaration

    Swift

    public var spamCheck: SpamChecker?
  • A Bool indicating if at least one of the settings have been specified.

    Declaration

    Swift

    public var hasSettings: Bool { get }
  • Initializes the struct with no settings set.

    Declaration

    Swift

    public init()
  • Bubbles up the validations for bcc and spamCheck.

    Declaration

    Swift

    public func validate() throws