Structs
The following structs are available globally.
-
Declaration
Swift
public struct Attachment
-
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 moreDeclaration
Swift
public struct Hedwig
-
Represents an email. It contains necessary information like
See morefrom
,to
andtext
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 aHedwig
instance to send.Declaration
Swift
public struct Mail
-
Name and address used in mail
See moreFrom
,To
,Cc
andBcc
fields.Declaration
Swift
public struct NameAddressPair