openmicroscopy/openmicroscopy — pull request #2127 by dpwrussell (2014-02-26 11:03:54+00:00)
Title: Working view to email announcements to selected users, groups, email addresses and/or all users

Adds an 'Email' tab to the web's admin interface. This can be used to email all or some selection of users. Obvious caveat: It only works for users with email addresses in their profiles.

Currently uses django's email framework so this needs to be configured like so:

```
omero config set omero.web.server_email "donotreply@servername.mydomain.com"
omero config set omero.web.email_host "smtp.mydomain.com"
omero config set omero.web.email_subject_prefix "[OMERO]"

# 25/587/custom
omero config set omero.web.email_host_port "587"

# If required
omero config set omero.web.email_host_user "smtpuser"
omero config set omero.web.email_host_password "smtppass"
omero config set omero.web.email_use_tls "True"

```

Can be quite easily modified to use future email capabilities in OMERO.server in place of django's.