Structs

The following structs are available globally.

  • Hedwig is the manager type of Hedwig framework. You can initialize an instance with common SMTP config and then send an email with it.

    See more

    Declaration

    Swift

    public struct Hedwig
  • Represents an email. It contains necessary information like from, to and text with which Hedwig could send it with a connection to some SMTP server. The whole type is immutable. You need to create a mail through the initialzer and then feed it to a Hedwig instance to send.

    See more

    Declaration

    Swift

    public struct Mail
  • Name and address used in mail From, To, Cc and Bcc fields.

    See more

    Declaration

    Swift

    public struct NameAddressPair