README.md in adhearsion-reporter-2.1.0 vs README.md in adhearsion-reporter-2.2.0
- old
+ new
@@ -29,9 +29,24 @@
Adhearsion.config do |config|
config.reporter.api_key = "YOUR API KEY HERE"
end
```
+Email Notifier
+--------------
+Email notification uses the [pony](https://github.com/benprew/pony) gem.
+The `email` configuration key is passed to Pony on initialization using `Pony.options`.
+
+To set the destination address and the sender address, for example, you can use:
+
+```ruby
+Adhearsion::Reporter.config.email = {
+ via: :sendmail,
+ to: 'recv@domain.ext',
+ from: 'send@domain.ext'
+}
+```
+
Copyright
---------
Copyright (C) 2012 Adhearsion Foundation Inc.
Released under the MIT License - Check [License file](https://github.com/adhearsion/adhearsion-reporter/blob/master/LICENSE)