Page 1 of 1

Email Configuration

Posted: Tue Aug 04, 2020 4:13 pm
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!

Re: Email Configuration

Posted: Wed Aug 05, 2020 9:46 am
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).

Re: Email Configuration

Posted: Thu Aug 06, 2020 7:11 am
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!

Re: Email Configuration

Posted: Thu Aug 06, 2020 9:06 am
by timurhai
No!
This should be job or user (for all jobs) custom data.