aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-04-14 00:10:21 +0200
committerJoris Guyonvarch2015-04-14 00:12:04 +0200
commitd3dd0e129658e3617f9e6e4fa0910cb15c42520d (patch)
tree7eed51e2f4dd9c599daa1d9728a6ca8c86e3897e /README.md
parenta2c9ca0ee7022981fa563ed867e85cdeae3b1590 (diff)
downloadad-listener-d3dd0e129658e3617f9e6e4fa0910cb15c42520d.tar.gz
ad-listener-d3dd0e129658e3617f9e6e4fa0910cb15c42520d.tar.bz2
ad-listener-d3dd0e129658e3617f9e6e4fa0910cb15c42520d.zip
Send mail to notify for new ads
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index d2ecb93..14458dd 100644
--- a/README.md
+++ b/README.md
@@ -16,9 +16,19 @@ cabal build
Configuration
-------------
-You provide the url you want to listen in a file named conf, for example:
+Provide the url you want to listen to and the mail addresses that will be
+notified in the configuration file:
```
-# This line is a comment
+# The url field is required
url = http://www.leboncoin.fr/locations/offres/ile_de_france/?f=a&th=1
+
+# The mailTo field is an optional list
+# mailTo = jean.dupont@mail.fr, john.smith@mail.com
```
+
+Email
+-----
+
+If you provide mail addresses, leboncoin-listener will try to send mails with
+the sendmail command.