MailError
public enum MailError: Error
Possible errors when validating the mail before sending.
- noSender: The
FROM
field of the mail is not valid or empty. - noRecipient: The
TO
,CC
andBCC
fields of the mail is not valid or empty.
-
The
FROM
field of the mail is not valid or empty.Declaration
Swift
case noSender
-
The
TO
,CC
andBCC
fields of the mail is not valid or empty.Declaration
Swift
case noRecipient