From d3dd0e129658e3617f9e6e4fa0910cb15c42520d Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Tue, 14 Apr 2015 00:10:21 +0200 Subject: Send mail to notify for new ads --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'README.md') 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. -- cgit v1.2.3