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
The Queen says she is "deeply touched" by the "selflessness" of medical staff fighting the Ebola outbreak in her annual Christmas speech.
Video of Norman the dog's Scrooge-like disdain of Christmas is becoming a festive hit online as he moans about his owners' singing.
Pope Francis has used his Christmas sermon to condemn the "brutal persecution" of minorities by Islamic State.