Sarah Harrison, Ofgem's senior partner in charge of enforcement, said:
Ofgem has put in place protections for consumers so they can get a fair warning if their supplier puts up prices and time to shop around for a better deal.
E.On has accepted it failed to meet these protections. Today's announcement that E.On will compensate customers is a positive step by the company to put right their mistakes and is welcome.
More top news
Wrestling legend Jimmy Snuka has been charged over the death of his girlfriend more than 30 years ago.
Rogue landlords are making life unbearable for tens of thousands of tenants in England, according to Shelter.
David Cameron has announced plans for 18 more free schools and vowed to continue to open hundreds more in the next five years.