Grafana is sending test email but not while state changes

Grafana is sending test email but not while state changes.
There are no error logs in /var/log/grafana.log.
Please suggest something

What does your alert rule look like? What’s the output of Test Rule?

The test rule output is:

firing:false

state:“ok”

conditionEvals:“false = false”

timeMs:“10.007ms”

logs:Array[2]

0:Object

message:“Condition[0]: Query Result”

data:Array[1]

1:Object

message:“Condition[0]: Eval: false, Metric: dashboard_name, Value: 1.000”

data:null

And the alert rule executes “when avg() OF query (D, 5m, now) IS BELOW 200”

Not sure on this,but have you configured your smtp server correctly?Because test email will work if you just set false to true in .ini file but smtp has to be configured

It got fixed automatically. Not sure what went wrong