From e6987e5f11eae0d51441a93d3708e9375e721880 Mon Sep 17 00:00:00 2001 From: Christophe Siraut Date: Wed, 8 May 2013 19:02:45 +0200 Subject: [PATCH] Added email service instruction. Thanks to Joan. --- README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README b/README index 971bb9a..3c0a4b6 100644 --- a/README +++ b/README @@ -97,3 +97,17 @@ Fix permission for apache user sudo chown -R www-data /usr/local/lib/nuages +Email Service +============= + +Django is expecting a working SMTP server listening at localhost, sendmail for instance. + +Another option is to add attributes in settings.py, this make email work only when there is a localhost server accepting all the email. To change this and make it configurable, we only have to add these lines: + + # Email attributes + EMAIL_HOST = 'mail.example.com' + EMAIL_PORT = '25' + EMAIL_HOST_USER = 'username@example.com' + EMAIL_HOST_PASSWORD = 'password' + EMAIL_USE_TLS = False + -- GitLab