Skip to content

Commit

Permalink
Merge branch 'patch-1' of github.com:woto/mail
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradIrwin committed Nov 10, 2013
2 parents 148819f + 9a95f95 commit bf6cf27
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -268,6 +268,20 @@ mail.delivery_method :sendmail
mail.deliver
```

Sending via smtp (you can preview it with https://github.com/sj26/mailcatcher)
```ruby

options = {
:address => "localhost",
:port => 1025
}

Mail.defaults do
delivery_method :smtp, options
end
```


Exim requires its own delivery manager, and can be used like so:

```ruby
Expand Down

0 comments on commit bf6cf27

Please sign in to comment.