aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index 2ba8dd8..d1d3e95 100644
--- a/settings.py
+++ b/settings.py
@@ -2,6 +2,7 @@
import os
import re
+import socket
from django.contrib.messages import constants as messages
DEBUG = False
@@ -198,11 +199,11 @@ IGNORABLE_404_URLS = (
TEST_RUNNER = 'servo.tests.NoDbTestRunner'
-SERVER_EMAIL = 'servo@localhost'
EMAIL_HOST = 'mail.servoapp.com'
EMAIL_HOST_PASSWORD = ''
EMAIL_HOST_USER = ''
EMAIL_USE_TLS = True
+SERVER_EMAIL = 'servo@' + socket.gethostname()
DEFAULT_FROM_EMAIL = 'support@servoapp.com'