Swiftpack.co - 0xLeif/EmailCourier as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by 0xLeif.
0xLeif/EmailCourier 0.1.0
Just MFMailComposeViewController
⭐️ 3
🕓 2 years ago
iOS
.package(url: "https://github.com/0xLeif/EmailCourier.git", from: "0.1.0")

EmailCourier

Just MFMailComposeViewController

Create an Email

let email = Email(
    recipients: "[email protected]",
    sender: "[email protected]",
    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"
)

Email init

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)

GitHub

link
Stars: 3
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

🔵 👖
2 years ago

EmailCourier

Just MFMailComposeViewController

Create an Email

let email = Email(
    recipients: "[email protected]",
    sender: "[email protected]",
    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"
)

Email init

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)

emojvar: ⭕️.🦺.🐌

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics