changeset 89:6a0659ac0ee7 draft

settings: default to a debug email server Running the script mailserver.sh will get you a python mail server for debugging, it will print everything that would get send via a regular server. You can unset this in settings.py
author diegoe-guest
date Wed, 01 Jul 2009 07:39:16 +0000
parents 11e589a6cec3
children 720e69cb7e76
files bts_webui/mailserver.sh bts_webui/settings.py
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/bts_webui/mailserver.sh
@@ -0,0 +1,1 @@
+python -m smtpd -n -c DebuggingServer localhost:1025
--- a/bts_webui/settings.py
+++ b/bts_webui/settings.py
@@ -11,6 +11,8 @@
      ('Margarita Manterola', 'marga@debian.org'),
 )
 
+EMAIL_HOST = 'localhost'
+EMAIL_PORT = '1025'
 
 MANAGERS = ADMINS