mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
email.py: Change recipients argument of send_future_email to to_email.
This commit is contained in:
@@ -397,11 +397,11 @@ def enqueue_welcome_emails(email, name):
|
||||
'unsubscribe_link': unsubscribe_link
|
||||
})
|
||||
send_future_email(
|
||||
"zerver/emails/followup_day1", [{'email': email, 'name': name}],
|
||||
"zerver/emails/followup_day1", '%s <%s>' % (name, email),
|
||||
from_email=from_email, context=context, delay=datetime.timedelta(hours=1),
|
||||
tags=["followup-emails"])
|
||||
send_future_email(
|
||||
"zerver/emails/followup_day2", [{'email': email, 'name': name}],
|
||||
"zerver/emails/followup_day2", '%s <%s>' % (name, email),
|
||||
from_email=from_email, context=context, delay=datetime.timedelta(days=1),
|
||||
tags=["followup-emails"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user