From 138fd519b781fe0d851cfe335d557616747278ec Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 5 Feb 2022 08:30:58 +0530 Subject: [PATCH] Change admin email to dcl-orders for vm purchase --- datacenterlight/views.py | 4 ++-- hosting/views.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index e149bfc4..5bf68e0a 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -1333,7 +1333,7 @@ def do_provisioning_generic( 'subject': (settings.DCL_TEXT + " Payment received from %s" % context['email']), 'from_email': settings.DCL_SUPPORT_FROM_ADDRESS, - 'to': ['info@ungleich.ch'], + 'to': ['dcl-orders@ungleich.ch'], 'body': "\n".join( ["%s=%s" % (k, v) for (k, v) in context.items()]), 'reply_to': [context['email']], @@ -1507,7 +1507,7 @@ def do_provisioning(request, stripe_api_cus_id, card_details_response, 'subject': (settings.DCL_TEXT + " Payment received from %s" % context['email']), 'from_email': settings.DCL_SUPPORT_FROM_ADDRESS, - 'to': ['info@ungleich.ch'], + 'to': ['dcl-orders@ungleich.ch'], 'body': "\n".join( ["%s=%s" % (k, v) for (k, v) in context.items()]), 'reply_to': [context['email']], diff --git a/hosting/views.py b/hosting/views.py index f55c8383..e2f6e13b 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -1911,7 +1911,7 @@ class VirtualMachineView(LoginRequiredMixin, View): 'subject': ("Deleted " if response['status'] else "ERROR deleting ") + admin_msg_sub, 'from_email': settings.DCL_SUPPORT_FROM_ADDRESS, - 'to': ['info@ungleich.ch'], + 'to': ['dcl-orders@ungleich.ch'], 'body': "\n".join( ["%s=%s" % (k, v) for (k, v) in admin_email_body.items()]), }