SandboxMode

public struct SandboxMode : Encodable

This allows you to send a test email to ensure that your request body is valid and formatted correctly. For more information, please see the SendGrid docs.

  • A bool indicating if the setting should be toggled on or off.

    Declaration

    Swift

    public let enable: Bool
  • Initializes the setting with a flag indicating if its enabled or not.

    Declaration

    Swift

    public init(enable: Bool = true)

    Parameters

    enable

    A bool indicating if the setting should be toggle on or off (default is true).