Patients were accidentally sent a text from their GP on Christmas Eve telling them they had terminal lung cancer.
Askern Medical Practice, near Doncaster, South Yorkshire, then sent another message an hour later wishing everyone a "Merry Christmas".
Hundreds of people registered at the surgery are understood to have received the diagnosis in error.