Elaine Douglas had previously admitted two charges of wilful fireraising and endangering the lives of neighbours at her block of flats in Edinburgh's Craigour Place.
The court heard the 50 years old's husband arrived home at Castleview House to the strong smell of smoke.
He found burning newspapers stuffed in the letterboxes of two flats and extinguished them before the fires took hold.
He then instructed his wife to call the fire brigade, but subsequent investigations led to Mrs Douglas' arrest.
Prosecutors told the court that, while the damage to the doors had been minimal, the blazes could have proved fatal had they taken hold and blocked the exits from the properties.
At sentencing in Edinburgh today, a judge told Douglas: "It is quite clear from the difficulties you have had, emotional, psychiatric and more recently with alcohol, you do require some support to assist you and protect the public".
He then sentenced her to two years probation and ordered her to attend psychiatric and alcohol counselling.
Her progress will be reviewed in six months.
South Edinburgh News >