To confirm whether or not you e-filed, please refer to the instructions listed in the following Help Article: How do I check my e-file status?
However, there are a handful of situations where you might have to mail something after e-filing, like if your return contains Form 8453. If the software prompted you, then you should mail in the required form.
Reference: Do I need to mail anything after I've e-filed?