Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rafiki270 authored Apr 11, 2018
1 parent b5ecb58 commit 6fc32db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Just add following line package to your `Package.swift` file.

Usage is really simple mkey!

## 1) Configure
## 1/3) Configure

First create your client configuration:

Expand Down Expand Up @@ -80,7 +80,7 @@ let smtp = SMTP(hostname: String,
let config = Mailer.Config.smtp(smtp)
```

## 2) Register service
## 2/3) Register service

Register and configure the service in your apps `configure` method.

Expand All @@ -90,7 +90,7 @@ Mailer(config: config, registerOn: &services)

`Mailer.Config` is an `enum` and you can choose from any integrated services to be used

## 3) Send an email
## 3/3) Send an email

```swift
let mail = Mailer.Message(from: "[email protected]", to: "[email protected]", subject: "Oil spill", text: "Oooops I did it again", html: "<p>Oooops I did it again</p>")
Expand Down

0 comments on commit 6fc32db

Please sign in to comment.