Commit d4acda7b authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Merge branch 'partner-address' into 'master'

Use new PARTNER_NOTIFICATION_ADDRESS instead of old PARTNER_EMAIL

See merge request !1315
parents 9d169a93 11403c04
......@@ -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