Skip to content

0xLeif/EmailCourier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)