Jumprock
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Usage
Create form
let form = JumprockForm(subject: "Hello, world!", message: "Some message.",
phone: "2125551234", name: "John Doe",
replyToAddress: "[email protected]",
redirectURLString: nil, cc: ["[email protected]", "[email protected]"], bcc: nil)
Send form
Jumprock.send(form, fromAlias: "ALIAS") { (error) in
if let error = error {
debugPrint("Did not send email:", error)
}
else {
debugPrint("Sent email!")
}
}
Installation
Jumprock is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Jumprock'
Author
Ryan Cohen, [email protected]
License
Jumprock is available under the MIT license. See the LICENSE file for more info.