TireSwingSoftware / openassign-server

OpenAssign server intended for use by a separate client via RPC
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Admin can email arbitrary user list #99

Closed mhrivnak closed 12 years ago

mhrivnak commented 12 years ago

An admin user should be able to send a custom email to an arbitrary list of users. There should be a template along the lines of:

John Doe has sent you a message in the OpenAssign system:

blah blah blah

So the template is a generic one that just identifies the sender and includes a custom body and subject.

The method could perhaps be something like this on the UserManager:

def send_email(self, auth_token, users, subject, body):

where 'users' is a list of user IDs.

We should probably limit this to plain-text emails only.