Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 946 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 946 Bytes

EmailCourier

Just MFMailComposeViewController

Create an Email

let email = Email(
    recipients: "some@email.com",
    sender: "me@email.com",
    subject: "Important Subject!",
    message: "Lorem Ipsum health is wealth buckwheat freekeh corn whole wheat health is wealth parma sheese nutrisoya soy coconut trader joe's lightlife's teese rice dream nut lightlife's smart bacon sheese tofu"
)
init(
    recipients: String...,
    ccRecipients: [String]? = nil,
    bccRecipients: [String]? = nil,
    sender: String? = nil,
    subject: String? = nil,
    message: String? = nil,
    isMessageBodyHTML: Bool = false,
    attachments: [EmailAttachment]? = nil
)

Send an Email

try EmailController(presentingViewController: self).send(email: email)