B S Yeddyurappa has sent his resignation to Nitin Gadkari after being told by the Bharatiya Janata Party (BJP) to quit immediately following his indictment by the Lokayukta for illegal mining in the state.