https://github.com/imryan/jumprock-ios
✉️ Send static forms via Jumprock's API
https://github.com/imryan/jumprock-ios
email-sender forms jumprock
Last synced: about 1 month ago
JSON representation
✉️ Send static forms via Jumprock's API
- Host: GitHub
- URL: https://github.com/imryan/jumprock-ios
- Owner: imryan
- License: mit
- Created: 2018-12-27T17:11:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-19T23:04:08.000Z (almost 7 years ago)
- Last Synced: 2025-11-11T16:28:30.460Z (7 months ago)
- Topics: email-sender, forms, jumprock
- Language: Swift
- Homepage: https://jumprock.co/
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jumprock
[](https://travis-ci.org/imryan/Jumprock)
[](https://cocoapods.org/pods/Jumprock)
[](https://cocoapods.org/pods/Jumprock)
[](https://cocoapods.org/pods/Jumprock)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Usage
### Create form
```swift
let form = JumprockForm(subject: "Hello, world!",
message: "Some message.",
phone: "2125551234",
name: "John Doe",
replyToAddress: "you@me.com",
redirectURLString: nil,
cc: ["someone@me.com", "someone@me.com"], bcc: nil)
```
### Send form
```swift
Jumprock.send(form, fromAlias: "YOUR_ALIAS") { (error) in
if let error = error {
debugPrint("Did not send email:", error)
}
else {
debugPrint("Sent email!")
}
}
```
## Installation
Jumprock is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'Jumprock'
```
## Author
Ryan Cohen, notryancohen@gmail.com
## License
Jumprock is available under the MIT license. See the LICENSE file for more info.