Commit bdd1bf85 authored by Gladys Forte's avatar Gladys Forte

sender body batch email admin

parent 34fed395
...@@ -69,8 +69,8 @@ def batch_email_admin(args): ...@@ -69,8 +69,8 @@ def batch_email_admin(args):
email = EmailMessage( email = EmailMessage(
'Resource Management System: Bulk Users!', 'Resource Management System: Bulk Users!',
'kindly see the attach file.', [body],
settings.EMAIL_DEFAULT_SENDER, [settings.EMAIL_DEFAULT_SENDER],
[recipient] [recipient]
) )
email.attach_file(filename) email.attach_file(filename)
......
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