django-orchestra-test/orchestra/apps/mailboxes/actions.py
2014-11-27 19:17:26 +00:00

8 lines
208 B
Python

from orchestra.admin.actions import SendEmail
class SendMailboxEmail(SendEmail):
def get_queryset_emails(self):
for mailbox in self.queryset.all():
yield mailbox.get_local_address()