Is there any smart service to send meeting invites which can be integrated with calendar?

I thought of creating a ".ics" file with proper format and set it with the email attachment. But i faced an issue in converting ".txt" document into ".ics" document.

Is there any other way i can try because i am not finding any way to change the extension of a document.

 Discussion posts and replies are publicly visible