When your returns were rejected you received an email with a rejection message or rejection code. We cannot see the email that you received so we do not know why your return was rejected. One of the most common reasons is incorrect AGI. If you entered the wrong 2018 AGI that would cause the IRS to reject the return. If the federal return is rejected, the state is also rejected.
Mailed returns are not rejected. So what do you mean by that? What happened to your mailed returns? Why do you say they were rejected?