OpenCue icon indicating copy to clipboard operation
OpenCue copied to clipboard

configurable email settings

Open bcipriano opened this issue 6 years ago • 5 comments

Cuebot sends email in a variety of situations e.g. job completion, job failure. Some of code hardcodes SPI-specific things like imageworks email addresses, and other code assumes all users use a @imageworks.com email domain.

bcipriano avatar Dec 20 '18 21:12 bcipriano

Hey Brian - is there any documentation or guidance on the admin tasks required to get cuebot to send email?

donalm avatar Feb 19 '21 23:02 donalm

I don't think we have any docs on this at the moment.

I don't remember any update on this since I filed this issue a while back. I believe Cuebot still has the imageworks.com domain hardcoded, which needs some work to fix.

Aside from that, we will likely need to create some docs/sample config showing how one can set up their Cuebot instances with SMTP so email can actually be sent.

bcipriano avatar Mar 01 '21 17:03 bcipriano

Along with the theme of configureable email settings, I would LOVE to have the ability to turn off email on a per job basis (maybe as a method on the returned job object)

lamiller0 avatar May 21 '21 21:05 lamiller0

@lamiller0 You can disable it with PyOutline

ol = OutlineLauncher(outline)
ol.set_flag("nomail", True)

Or just skip to put email to job spec.

https://github.com/AcademySoftwareFoundation/OpenCue/blob/c93e8629f641a95f47617c50865f7e316e94f5c8/cuebot/src/main/resources/public/dtd/cjsl-1.11.dtd#L12

splhack avatar May 21 '21 22:05 splhack

Thanks, that was the hint I needed!

lamiller0 avatar May 25 '21 20:05 lamiller0