Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail/notifications #1322

Closed
thunders82 opened this issue Oct 16, 2023 · 5 comments
Closed

Mail/notifications #1322

thunders82 opened this issue Oct 16, 2023 · 5 comments
Labels
enhancement Improvement to an existing feature

Comments

@thunders82
Copy link

Hi,
I don't know how to label this topic. I'm sorry in advance.

I couldn't find any documentation related to the notifications and emails. If there is any, could you redirect me to that one? If not, is it possible to explain how it works and how to set it up?

Thank you

@thunders82 thunders82 added the enhancement Improvement to an existing feature label Oct 16, 2023
@n-jay
Copy link
Contributor

n-jay commented Oct 23, 2023

Hi @thunders82
It seems like there isn't much documentation on this as per issue #56 written a while back.
There also seems to be some new work being done to rework the whole process according to issue #218 which is more recent.

But in case this isn't resolved yet, I dug through the code and it seems like you can access the email setup per job by right-clicking on a job in the Monitor Jobs section in CueGUI.
image

This will open up the following dialog box for the artist details.
image

I'm not quite sure whether this works exactly as intended because it has been flagged for removal by the devs.

# pwd is not available on Windows.
# TODO(bcipriano) Remove this, not needed once user info can come directly from Cuebot.

Hope this helps!

@thunders82
Copy link
Author

Hi @n-jay,

Thank you for your reply. Do you know where to setup the mail server?
I noticed we can set "smtp_host" in Cuebot settings but, how to set the port, the encryption, SASL settings, etc?

Thank you

@n-jay
Copy link
Contributor

n-jay commented Oct 29, 2023

Not quite sure about that @thunders82,
while the library used for handling email (smtplib) supports it, based on the OpenCue code, it seems that some of the parameters (such as port) haven't been exposed to be set from an external configuration.

What I could find in the CueGUI configuration file related to email was the following:

email.subject_prefix: 'cuemail: please check '
email.body_prefix: 'Your PSTs request that you check '
email.body_suffix: "\n\n"
email.domain: ''

Unsure if there's an alternative way to achieve this though.

Will need some confirmation from the main devs on this.
Looping in @bcipriano

@thunders82
Copy link
Author

Thank you @n-jay. I hope @bcipriano will be able to help.

@bcipriano
Copy link
Collaborator

AFAIK the email functionality remains mostly untouched from the pre-OSS days at Imageworks. There may even be some bits that are still hardcoded with Imageworks-specific values.

I believe both CueGUI and Cuebot have email functionality, but at some point someone will need to walk through that code and/or do some testing to find out what work needs to be done.

It might be as simple as exposing a few config flags and writing a doc on SMTP configuration. There may be some additional work needed as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

4 participants