Is a 1200 calorie diet healthy ?

I’m 226 and I need to lose weight fast !! I’m ina. Wedding in June and need to lose at least 40 pounds smh is eating that many calories healthy ?