Commit 11403c04 authored by Joren Vrancken's avatar Joren Vrancken Committed by Sébastiaan Versteeg

Use new PARTNER_NOTIFICATION_ADDRESS instead of old PARTNER_EMAIL

parent fd3ffa7b
......@@ -24,14 +24,12 @@ def send_vacancy_expiration_notifications(dry_run=False):
'\n\nKind regards,\nThe website'
.format(exp_vacancy.title,
exp_vacancy.get_company_name()))
recipient = settings.PARTNER_EMAIL
if not dry_run:
# Send Mail
EmailMessage(
subject,
text_message,
to=[recipient]
to=[settings.PARTNER_NOTIFICATION_ADDRESS]
).send()
# Save that mail has been sent into database
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment