Email Configuration

General discussions and questions.
Post Reply
Khiladi
Posts: 22
Joined: Mon Jul 06, 2020 6:49 am

Email Configuration

Post by Khiladi »

Hey Timurhai,

Could you please help me point out how to configure afanasy to send email notification on a certain mail id using gmail smtp server.

Thanks!
User avatar
timurhai
Site Admin
Posts: 648
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Email Configuration

Post by timurhai »

Hi!

For now there is only 2 events: on job done and error
https://cgru.readthedocs.io/en/latest/a ... tml#events

Later (soon) there will be render offline and sick (produced configured number of errors).
Timur Hairulin
CGRU 3.0.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
Khiladi
Posts: 22
Joined: Mon Jul 06, 2020 6:49 am

Re: Email Configuration

Post by Khiladi »

So basically, I have to set this in config.json

Code: Select all

{
    "email":"some@email.com",
    "events":
    {
        "JOB_ERROR":{"methods":["email"]},
        "JOB_DONE":{"methods":["email"]}
    }
}
Thanks Timur!
User avatar
timurhai
Site Admin
Posts: 648
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Email Configuration

Post by timurhai »

No!
This should be job or user (for all jobs) custom data.
Timur Hairulin
CGRU 3.0.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
Post Reply