The CEO of the company resigned a day after thousands were wrongly told they had won large sums, with some believing they were millionaires.