Sending SMS blasts is legal, but you must comply with all the TRAI regulations such as obtaining explicit consent from recipients and providing an easy way to opt-out.