Unable to e-file

After getting rejected by is 4 times due to incorrect AGI from last year I finally figured out what I was doing wrong. I resent my return and now I have a rejection with no reason other than that I have to mail it. Why? How long will it take to get my refund if I have to mail it?