Added from_address to EmailMessage
This commit is contained in:
parent
a60e799e08
commit
83802a0a52
1 changed files with 1 additions and 0 deletions
|
@ -295,6 +295,7 @@ class IndexView(CreateView):
|
||||||
}
|
}
|
||||||
email_data = {
|
email_data = {
|
||||||
'subject': "Data Center Light Order from %s" % context['email'],
|
'subject': "Data Center Light Order from %s" % context['email'],
|
||||||
|
'from_address': '(datacenterlight) datacenterlight Support <support@datacenterlight.ch>',
|
||||||
'to': ['info@ungleich.ch'],
|
'to': ['info@ungleich.ch'],
|
||||||
'body': "\n".join(["%s=%s" % (k, v) for (k, v) in context.items()]),
|
'body': "\n".join(["%s=%s" % (k, v) for (k, v) in context.items()]),
|
||||||
'reply_to': [context['email']],
|
'reply_to': [context['email']],
|
||||||
|
|
Loading…
Reference in a new issue