More than 20 horses have been euthanised after a man neglected animals on his property for months, leading to suspended jail sentences.