Merge pull request #332 from pcoder/bug/email_from_address_missing

Added from_address to EmailMessage
This commit is contained in:
Pcoder 2017-06-13 01:11:44 +02:00 committed by GitHub
commit 8f85a1b4bd

View file

@ -295,6 +295,7 @@ class IndexView(CreateView):
}
email_data = {
'subject': "Data Center Light Order from %s" % context['email'],
'from_address': '(datacenterlight) datacenterlight Support <support@datacenterlight.ch>',
'to': ['info@ungleich.ch'],
'body': "\n".join(["%s=%s" % (k, v) for (k, v) in context.items()]),
'reply_to': [context['email']],