<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Posted this on the wrong list initially, please follow up here.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm adding an email announcement page to the admin tabs in the web client. Chris mentioned there was a desire to add more email capability to the CLI so I've implemented the web app to use an email sending back-end in utils.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I've already written the actual email sending functions in utils, but now there are some design decisions to make.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><b>OMERO Connection in Utils</b></div><div style="font-family:arial,sans-serif;font-size:13px">Is it desired that utils are not dependant on an OMERO connection? The web client interface I've designed offers an admin the opportunity to select all-users, some groups, some users and there is a text field for arbitrary cc. I can do the resolution of omeName/id and groupId to sets of email addresses in the webclient code, but if it would be useful, I can put it in utils instead? Obviously this relies on having an OMERO connection in the utils, I would just pass it in from the calling function.<br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><b>Configuration</b></div><div style="font-family:arial,sans-serif;font-size:13px">The current configuration parameters are for the web:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">omero.web.server_email "<a href="mailto:webmaster@example.com" target="_blank">webmaster@example.com</a>"<br>
</div><div style="font-family:arial,sans-serif;font-size:13px">omero.web.email_host "<a href="http://email.example.com/" target="_blank">email.example.com</a>"<br></div><div style="font-family:arial,sans-serif;font-size:13px">
omero.web.email_host_user "username"<br></div><div style="font-family:arial,sans-serif;font-size:13px">omero.web.email_host_password "password"<br></div><div style="font-family:arial,sans-serif;font-size:13px">
omero.web.email_host_port "2255"<br></div><div style="font-family:arial,sans-serif;font-size:13px">omero.web.email_use_tls "True"<br></div><div style="font-family:arial,sans-serif;font-size:13px">omero.web.email_subject_prefix "Subject prefix for outgoing e-mail"<br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Options:</div><div style="font-family:arial,sans-serif;font-size:13px"><ol><li style="margin-left:15px">
Use these settings everywhere (wont make much sense)<br></li><li style="margin-left:15px">Define additional settings (bit clumsy)<br></li><li style="margin-left:15px">Change these setttings to more general ones and have the web use those (more work and requires config changes on existing servers).<br>
</li></ol><div>Also, obviously the web currently has the capability to send email. Should this be modified to use this generic email system?</div><div><br></div><div>Thoughts?</div><div><br></div><div>Douglas</div></div>
</div>