From 51beddfef15113465797a9875b57e834135f8dfe Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 23 Sep 2014 16:28:06 -0400 Subject: [PATCH] Add accidentally removed subscription change email contents --- util/useremails.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/util/useremails.py b/util/useremails.py index 74e98f429..ca0fd896a 100644 --- a/util/useremails.py +++ b/util/useremails.py @@ -146,6 +146,13 @@ def send_invoice_email(email, contents): def send_subscription_change(change_description, customer_id, customer_email, quay_username): SUBSCRIPTION_CHANGE_TITLE = 'Subscription Change - {0} {1}' + SUBSCRIPTION_CHANGE = """ + Change: {0}
+ Customer id: {1}
+ Customer email: {2}
+ Quay user or org name: {3}
+ """ + title = SUBSCRIPTION_CHANGE_TITLE.format(quay_username, change_description) msg = Message(title, sender='support@quay.io', recipients=['stripe@quay.io']) msg.html = SUBSCRIPTION_CHANGE.format(change_description, customer_id, customer_email,